contextual_views_data_alter

contextual_views_data_alter(&$data)

Implements hook_views_data_alter().

File

core/modules/contextual/contextual.views.inc, line 11
Provide views data for contextual.module.

Code

function contextual_views_data_alter(&$data) {
  $data['views']['contextual_links'] = array(
    'title' => t('Contextual Links'),
    'help' => t('Display fields in a contextual links menu.'),
    'field' => array(
      'id' => 'contextual_links',
    ),
  );
}
doc_Drupal
2016-10-29 08:58:52
Comments
Leave a Comment

Please login to continue.