You are here

contextual.views.inc in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/contextual/contextual.views.inc

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'] = array(
    'title' => t('Contextual Links'),
    'help' => t('Display fields in a contextual links menu.'),
    'field' => array(
      'id' => 'contextual_links',
    ),
  );
}

Functions