1234567891011121314151617181920 |
- <?php
- /**
- * @file
- * Provide views data for contextual.module.
- */
- /**
- * Implements hook_views_data_alter().
- */
- function contextual_views_data_alter(&$data) {
- $data['views']['contextual_links'] = [
- 'title' => t('Contextual Links'),
- 'help' => t('Display fields in a contextual links menu.'),
- 'field' => [
- 'id' => 'contextual_links',
- ],
- ];
- }
|