You are here

function hook_filebrowser_metadata_get in Filebrowser 6.2

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

Return value

an array of metatada

1 function implements hook_filebrowser_metadata_get()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

filebrowser_filebrowser_metadata_get in ./filebrowser.module
1 invocation of hook_filebrowser_metadata_get()
_filebrowser_load_files in includes/filesystem.inc
Load data from current path.

File

./filebrowser.api.php, line 112
hook_filebrowser_metadata_get implementation. the filebrowser file object to extract metadata from

Code

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