contextual.views.inc 371 Bytes
Newer Older
1 2 3 4
<?php

/**
 * @file
5
 * Provide views data for contextual.module.
6 7 8 9 10 11
 */

/**
 * Implements hook_views_data_alter().
 */
function contextual_views_data_alter(&$data) {
12
  $data['views']['contextual_links'] = [
13 14
    'title' => t('Contextual Links'),
    'help' => t('Display fields in a contextual links menu.'),
15
    'field' => [
16
      'id' => 'contextual_links',
17 18
    ],
  ];
19
}