Same name and namespace in other branches
  1. 8.9.x core/modules/node/src/Plugin/views/row/NodeRow.php \Drupal\node\Plugin\views\row\NodeRow
  2. 9 core/modules/node/src/Plugin/views/row/NodeRow.php \Drupal\node\Plugin\views\row\NodeRow

Hierarchy

  • class \Drupal\node\Plugin\views\row\NodeRow extends \Drupal\views\Plugin\views\row\EntityRow

Expanded class hierarchy of NodeRow

File

core/modules/node/src/Plugin/views/row/NodeRow.php, line 16

Namespace

Drupal\node\Plugin\views\row
View source
class NodeRow extends EntityRow {

  /**
   * {@inheritdoc}
   */
  protected function defineOptions() {
    $options = parent::defineOptions();
    $options['view_mode']['default'] = 'teaser';
    return $options;
  }

}

Members