Same name and namespace in other branches
- 8.9.x core/modules/node/src/Plugin/views/row/NodeRow.php \Drupal\node\Plugin\views\row\NodeRow
- 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\rowView source
class NodeRow extends EntityRow {
/**
* {@inheritdoc}
*/
protected function defineOptions() {
$options = parent::defineOptions();
$options['view_mode']['default'] = 'teaser';
return $options;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NodeRow:: |
protected | function |