Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / views_plugins_row_alter.twig
1 /**
2  * Implements hook_views_plugins_row_alter().
3  */
4 function {{ machine_name }}_views_plugins_row_alter(array &$plugins) {
5   // Change the used class of a plugin.
6   $plugins['entity:node']['class'] = 'Drupal\node\Plugin\views\row\NodeRow';
7   $plugins['entity:node']['module'] = 'node';
8 }