You are here

function embed_views_views_plugins in Embed Views Display 7.2

Same name and namespace in other branches
  1. 6 embed_views.module \embed_views_views_plugins()
  2. 7 embed_views.module \embed_views_views_plugins()

Implementation of hook_views_plugins().

1 call to embed_views_views_plugins()
embed_views_views_plugins_alter in ./embed_views.module
Implements hook_views_plugins_alter().

File

./embed_views.module, line 17
Integration with the views module to create the new embed views display.

Code

function embed_views_views_plugins() {
  return array(
    'display' => array(
      'embed' => array(
        'title' => t('Embed'),
        'help' => t('Creates a display for embed use.'),
        'path' => drupal_get_path('module', 'embed_views'),
        'file' => 'embed_views_plugin_display_embed.inc',
        'handler' => 'embed_views_plugin_display_embed',
        'theme' => 'views_view',
        'theme path' => drupal_get_path('module', 'views') . '/theme',
        'use ajax' => TRUE,
        'use pager' => TRUE,
        'use more' => TRUE,
        'accept attachments' => TRUE,
        'help topic' => 'embed',
      ),
    ),
  );
}