You are here

function contextual_views_data_alter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/contextual/contextual.views.inc \contextual_views_data_alter()

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',
    ),
  );
}