You are here

function filebrowser_STARTER_filebrowser_metadata_get in Filebrowser 7.3

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

hook_filebrowser_metadata_get implementation. @file the filebrowser file object to extract metadata from

Return value

an array of metatada

File

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

Code

function filebrowser_STARTER_filebrowser_metadata_get($file) {
  return array(
    'STARTER_foo' => 'bar ' . $file['display-name'],
  );
}