You are here

function file_management_views_data_alter in File Management 8

Implements hook_views_data_alter().

File

./file_management.views.inc, line 11
Implements hook_views_data_alter().

Code

function file_management_views_data_alter(array &$data) {
  $data['file_managed']['file_management_operations'] = [
    'field' => [
      'title' => t('Operations links'),
      'help' => t('Provides links to perform entity operations.'),
      'id' => 'file_management_operations',
    ],
  ];
  return $data;
}