function media_acquiadam_views_data in Media: Acquia DAM 8
Implements hook_views_data().
File
- ./
media_acquiadam.module, line 395 - Integrates Drupal with Acquia DAM.
Code
function media_acquiadam_views_data() {
// Expose acquiadam_assets_data table to views.
$data['acquiadam_assets_data']['table']['group'] = t('Acquia DAM');
$data['acquiadam_assets_data']['name'] = [
'title' => t('Acquia DAM asset data name'),
'help' => t('The name of the asset data.'),
'field' => [
'id' => 'standard',
],
'sort' => [
'id' => 'standard',
],
'filter' => [
'id' => 'string',
],
'argument' => [
'id' => 'string',
],
];
return $data;
}