2012-10-29 15:37:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
2013-11-20 18:38:33 +00:00
|
|
|
* Provide views data for contextual.module.
|
2012-10-29 15:37:46 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|