contextual.views.inc
Same filename in other branches
Provide views data for contextual.module.
File
-
core/
modules/ contextual/ contextual.views.inc
View source
<?php
/**
* @file
* Provide views data for contextual.module.
*/
/**
* Implements hook_views_data_alter().
*/
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',
],
];
}
Functions
Title | Deprecated | Summary |
---|---|---|
contextual_views_data_alter | Implements hook_views_data_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.