Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

FILE_STATUS_TEMPORARY

Definition

6/includes/file.inc

Description

A files status can be one of two values: temporary or permanent. The status for each file Drupal manages is stored in the {files} tables. If the status is temporary Drupal's file garbage collection will delete the file and remove it from the files table after a set period of time.

If you wish to add custom statuses for use by contrib modules please expand as binary flags and consider the first 8 bits reserved. (0,1,2,4,8,16,32,64,128)

Related topics

Namesort iconDescription
File interfaceCommon file handling functions.

Code

<?php
define('FILE_STATUS_TEMPORARY', 0);
?>