function hook_views_plugins_wizard_alter

Same name in other branches
  1. 9 core/modules/views/views.api.php \hook_views_plugins_wizard_alter()
  2. 8.9.x core/modules/views/views.api.php \hook_views_plugins_wizard_alter()
  3. 11.x core/modules/views/views.api.php \hook_views_plugins_wizard_alter()

Modify the list of available views wizard plugins.

This hook may be used to modify plugin properties after they have been specified by other modules.

Parameters

array $plugins: An array of all the existing plugin definitions, passed by reference.

See also

\Drupal\views\Plugin\ViewsPluginManager

Related topics

File

core/modules/views/views.api.php, line 1162

Code

function hook_views_plugins_wizard_alter(array &$plugins) {
    // Change the title of a plugin.
    $plugins['node_revision']['title'] = t('Node revision wizard');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.