You are here

function filebrowser_filebrowser_metadata_info in Filebrowser 7.4

Same name and namespace in other branches
  1. 8 filebrowser.module \filebrowser_filebrowser_metadata_info()
  2. 6.2 filebrowser.module \filebrowser_filebrowser_metadata_info()
  3. 7.2 filebrowser.module \filebrowser_filebrowser_metadata_info()
  4. 7.3 filebrowser.module \filebrowser_filebrowser_metadata_info()

hook_filebrowser_metadata_definition implementation.

File

./filebrowser.module, line 1281

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',
    ),
  );
}