function contextual_views_data_alter
Same name in other branches
- 9 core/modules/contextual/contextual.views.inc \contextual_views_data_alter()
- 10 core/modules/contextual/contextual.views.inc \contextual_views_data_alter()
- 11.x core/modules/contextual/contextual.views.inc \contextual_views_data_alter()
Implements hook_views_data_alter().
File
-
core/
modules/ contextual/ contextual.views.inc, line 11
Code
function contextual_views_data_alter(&$data) {
$data['views']['contextual_links'] = [
'title' => t('Contextual Links'),
'help' => t('Display fields in a contextual links menu.'),
'field' => [
'id' => 'contextual_links',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.