views_field_view.views.inc 794 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Views integration for the views_field_view module.
  5. */
  6. /**
  7. * Implements hook_views_data_alter().
  8. */
  9. function views_field_view_views_data_alter(&$data) {
  10. $data['views']['view']['field'] = array(
  11. 'title' => t('View'),
  12. 'help' => t('Embed a view as a field. This can cause slow performance, so enable some caching.'),
  13. 'handler' => 'views_field_view_handler_field_view',
  14. );
  15. $data['views']['view_field'] = array(
  16. 'title' => t('View (Views field view)'),
  17. 'help' => t('Embed a view in an area. This can cause slow performance, so enable some caching.'),
  18. 'area' => array(
  19. 'help' => t('Embed a views_field_view field in an area. This can also accept argument tokens.'),
  20. 'handler' => 'views_field_view_handler_field_view',
  21. ),
  22. );
  23. }