function filebrowser_filebrowser_metadata_info in Filebrowser 7.2
Same name and namespace in other branches
- 8 filebrowser.module \filebrowser_filebrowser_metadata_info()
- 6.2 filebrowser.module \filebrowser_filebrowser_metadata_info()
- 7.4 filebrowser.module \filebrowser_filebrowser_metadata_info()
- 7.3 filebrowser.module \filebrowser_filebrowser_metadata_info()
hook_filebrowser_metadata_definition implementation.
File
- ./
filebrowser.module, line 989
Code
function filebrowser_filebrowser_metadata_info() {
return array(
FILEBROWSER_DATA_NAME_ICON => array(
'title' => t('Icon'),
),
FILEBROWSER_DATA_NAME_DISPLAY_NAME => array(
'title' => t('Display name'),
'sortable' => TRUE,
'type' => 'string',
),
FILEBROWSER_DATA_NAME_CREATED => array(
'title' => t('created'),
'sortable' => TRUE,
'type' => 'integer',
),
FILEBROWSER_DATA_NAME_SIZE => array(
'title' => t('size'),
'sortable' => TRUE,
'type' => 'integer',
),
FILEBROWSER_DATA_NAME_MODIFIED => array(
'title' => t('modified'),
'sortable' => TRUE,
'type' => 'integer',
),
FILEBROWSER_DATA_NAME_TYPE => array(
'title' => t('Mime type'),
'sortable' => TRUE,
'type' => 'string',
),
FILEBROWSER_DATA_NAME_DESCRIPTION => array(
'title' => t('Description'),
'writable' => TRUE,
'sortable' => TRUE,
'type' => 'string',
),
);
}