You are here

function views_navigation_views_plugins in Views navigation 7

Implements hook_views_plugins().

Declare a display extender to add a setting to the view display.

File

./views_navigation.module, line 27
Views navigation module.

Code

function views_navigation_views_plugins() {
  $plugins = [];
  $plugins['display_extender']['views_navigation'] = [
    'title' => t('Views navigation'),
    'help' => t('Enable views navigation.'),
    'path' => drupal_get_path('module', 'views_navigation') . '/views',
    'handler' => 'views_navigation_plugin_display_extender_views_navigation',
  ];
  return $plugins;
}