function hook_views_plugins_row_alter

Modify the list of available views row 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

3 functions implement hook_views_plugins_row_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

comment_views_plugins_row_alter in drupal/core/modules/comment/comment.views.inc
Implements hook_views_plugins_row_alter().
node_views_plugins_row_alter in drupal/core/modules/node/node.views.inc
Implements hook_views_plugins_row_alter().
user_views_plugins_row_alter in drupal/core/modules/user/user.views.inc
Implements hook_views_plugins_row_alter().

File

drupal/core/modules/views/views.api.php, line 783
Describes hooks and plugins provided by the Views module.

Code

function hook_views_plugins_row_alter(array &$plugins) {

  // Change the used class of a plugin.
  $plugins['entity:node']['class'] = 'Drupal\\node\\Plugin\\views\\row\\NodeRow';
  $plugins['entity:node']['module'] = 'node';
}