hook_views_plugins_style_alter(array &$plugins)
Modify the list of available views style plugins.
This hook may be used to modify plugin properties after they have been specified by other modules.
array $plugins: An array of all the existing plugin definitions, passed by reference.
\Drupal\views\Plugin\ViewsPluginManager
function hook_views_plugins_style_alter(array &$plugins) { // Change the theme hook of a plugin. $plugins['html_list']['theme'] = 'custom_views_view_list'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!views!views.api.php/function/hook_views_plugins_style_alter/8.1.x