contextual.views.inc 431 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php

/**
 * @file
 * Provide views data and handlers for contextual.module.
 *
 * @ingroup views_module_handlers
 */

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