You are here

function hook_filebrowser_actions_info in Filebrowser 6.2

Parameters

unknown_type $node:

1 function implements hook_filebrowser_actions_info()

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

filebrowser_filebrowser_actions_info in ./filebrowser.module
hook_filebrowser_actions_info implementation
1 invocation of hook_filebrowser_actions_info()
theme_dir_listing_list_view in ./filebrowser.theme.inc
Theming function for list view.

File

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

Code

function hook_filebrowser_actions_info($node) {
  $actions = array();
  if ($node->file_listing['.']['files_count'] > 0) {
    $actions[] = array(
      'operation' => 'foo',
      'title' => t("Foo action for files only"),
    );
  }
  return $actions;
}