function UserRow::defineOptions
Same name in other branches
- 9 core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow::defineOptions()
- 8.9.x core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow::defineOptions()
- 10 core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow::defineOptions()
Overrides EntityRow::defineOptions
File
-
core/
modules/ user/ src/ Plugin/ views/ row/ UserRow.php, line 19
Class
- UserRow
- A row plugin which renders a user.
Namespace
Drupal\user\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['view_mode']['default'] = 'full';
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.