function node_views_plugins_row_alter

Implements hook_views_plugins_row_alter().

Replaces the generic row plugin by a custom one for nodes.

See also

\Drupal\views\Plugin\views\row\EntityRow

File

drupal/core/modules/node/node.views.inc, line 669
Provide views data and handlers for node.module.

Code

function node_views_plugins_row_alter(array &$plugins) {
  $plugins['entity:node']['class'] = 'Drupal\\node\\Plugin\\views\\row\\NodeRow';
  $plugins['entity:node']['module'] = 'node';
}