You are here

function filebrowser_STARTER_filebrowser_metadata_info in Filebrowser 7.3

Same name and namespace in other branches
  1. 8 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_metadata_info()
  2. 7.4 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_metadata_info()
  3. 7.2 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_metadata_info()

hook_filebrowser_metadata_info implementation.

Return value

an array of metatada information.

File

filebrowser_STARTER/filebrowser_STARTER.module, line 86
hook_filebrowser_metadata_get implementation. the filebrowser file object to extract metadata from

Code

function filebrowser_STARTER_filebrowser_metadata_info() {
  return array(
    'STARTER_foo' => array(
      'title' => t('Foo'),
      'writable' => TRUE,
      'sortable' => TRUE,
      'type' => 'string',
    ),
  );
}