Version 1
[yaffs-website] / web / core / modules / user / src / Plugin / views / row / UserRow.php
1 <?php
2
3 namespace Drupal\user\Plugin\views\row;
4
5 use Drupal\views\Plugin\views\row\EntityRow;
6
7 /**
8  * A row plugin which renders a user.
9  *
10  * @ingroup views_row_plugins
11  *
12  * @ViewsRow(
13  *   id = "entity:user",
14  * )
15  */
16 class UserRow extends EntityRow {
17
18   /**
19    * {@inheritdoc}
20    */
21   protected function defineOptions() {
22     $options = parent::defineOptions();
23     $options['view_mode']['default'] = 'full';
24
25     return $options;
26   }
27
28 }