You are here

function filebrowser_entity_extra_field_info in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x filebrowser.module \filebrowser_entity_extra_field_info()

Implements hook_entity_extra_field_info().

File

./filebrowser.module, line 91

Code

function filebrowser_entity_extra_field_info() {
  $extra = [];
  $extra['node']['dir_listing']['display']['filebrowser_file_list'] = [
    'label' => t('Filebrowser file listing'),
    'description' => t('Show file listing content part.'),
    'weight' => 100,
    'visible' => TRUE,
  ];
  $extra['node']['dir_listing']['display']['filebrowser_statistics'] = [
    'label' => t('Filebrowser statistics'),
    'description' => t('Show the statistics of this listing.'),
    'weight' => 100,
    'visible' => TRUE,
  ];
  return $extra;
}