1.20.x system.views.inc | _views_file_status($choice = NULL) |
File
- modules/
system/ views/ system.views.inc, line 127 - Provide views data and handlers for system.module.
Code
function _views_file_status($choice = NULL) {
$status = array(
0 => t('Temporary'),
FILE_STATUS_PERMANENT => t('Permanent'),
);
if (isset($choice)) {
return isset($status[$choice]) ? $status[$choice] : t('Unknown');
}
return $status;
}