protected function EntityRow::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::defineOptions()
- 9 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::defineOptions()
2 calls to EntityRow::defineOptions()
- NodeRow::defineOptions in core/
modules/ node/ src/ Plugin/ views/ row/ NodeRow.php - UserRow::defineOptions in core/
modules/ user/ src/ Plugin/ views/ row/ UserRow.php
2 methods override EntityRow::defineOptions()
- NodeRow::defineOptions in core/
modules/ node/ src/ Plugin/ views/ row/ NodeRow.php - UserRow::defineOptions in core/
modules/ user/ src/ Plugin/ views/ row/ UserRow.php
File
- core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php, line 167
Class
- EntityRow
- Generic entity row plugin to provide a common base for all entity types.
Namespace
Drupal\views\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['view_mode'] = [
'default' => 'default',
];
return $options;
}