You are here

function views_navigation_views_plugins_alter in Views navigation 7

Implements hook_views_plugins_alter().

Replace views row plugin class with our own subclass.

File

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

Code

function views_navigation_views_plugins_alter(&$plugins) {
  if (isset($plugins['row']['entity'])) {
    module_load_include('inc', 'views_navigation', 'views/views_navigation_plugin_entity_row_entity_view');
    $plugins['row']['entity']['override handler'] = 'views_navigation_plugin_entity_row_entity_view';
  }
  if (isset($plugins['row']['ds'])) {
    $plugins['row']['ds']['override handler'] = 'views_navigation_plugin_ds_entity_view';
  }
}