contextual.views.inc

Provide views data and handlers for contextual.module.

File

drupal/core/modules/contextual/contextual.views.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Provide views data and handlers for contextual.module.
  5. *
  6. * @ingroup views_module_handlers
  7. */
  8. /**
  9. * Implements hook_views_data_alter().
  10. */
  11. function contextual_views_data_alter(&$data) {
  12. $data['views']['contextual_links'] = array(
  13. 'title' => t('Contextual Links'),
  14. 'help' => t('Display fields in a contextual links menu.'),
  15. 'field' => array(
  16. 'id' => 'contextual_links',
  17. ),
  18. );
  19. }

Related topics

Functions