3 namespace Drupal\node\Plugin\views\row;
5 use Drupal\views\Plugin\views\row\EntityRow;
8 * Plugin which performs a node_view on the resulting object.
10 * Most of the code on this object is in the theme function.
12 * @ingroup views_row_plugins
18 class NodeRow extends EntityRow {
23 protected function defineOptions() {
24 $options = parent::defineOptions();
26 $options['view_mode']['default'] = 'teaser';