You are here

function multiversion_search_plugin_alter in Multiversion 8

Implements hook_search_plugin_alter().

File

./multiversion.module, line 624

Code

function multiversion_search_plugin_alter(array &$definitions) {
  if (isset($definitions['node_search'])) {
    $definitions['node_search']['class'] = 'Drupal\\multiversion\\Entity\\Search\\NodeSearch';
  }
}