Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 4 |
| UserRow | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
| defineOptions | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\user\Plugin\views\row\UserRow. | |
| */ | |
| namespace Drupal\user\Plugin\views\row; | |
| use Drupal\views\Plugin\views\row\EntityRow; | |
| /** | |
| * A row plugin which renders a user. | |
| * | |
| * @ingroup views_row_plugins | |
| * | |
| * @ViewsRow( | |
| * id = "entity:user", | |
| * ) | |
| */ | |
| class UserRow extends EntityRow { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| protected function defineOptions() { | |
| $options = parent::defineOptions(); | |
| $options['view_mode']['default'] = 'full'; | |
| return $options; | |
| } | |
| } |