class UserRow
Same name and namespace in other branches
- 11.x core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow
- 10 core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow
- 8.9.x core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow
A row plugin which renders a user.
Plugin annotation
@ViewsRow(
id = "entity:user",
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
- class \Drupal\views\Plugin\views\PluginBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface, \Drupal\views\Plugin\views\ViewsPluginInterface, \Drupal\Component\Plugin\DependentPluginInterface, \Drupal\Core\Security\TrustedCallbackInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\views\Plugin\views\row\RowPluginBase extends \Drupal\views\Plugin\views\PluginBase
- class \Drupal\views\Plugin\views\row\EntityRow uses \Drupal\views\Entity\Render\EntityTranslationRenderTrait extends \Drupal\views\Plugin\views\row\RowPluginBase
- class \Drupal\user\Plugin\views\row\UserRow extends \Drupal\views\Plugin\views\row\EntityRow
- class \Drupal\views\Plugin\views\row\EntityRow uses \Drupal\views\Entity\Render\EntityTranslationRenderTrait extends \Drupal\views\Plugin\views\row\RowPluginBase
- class \Drupal\views\Plugin\views\row\RowPluginBase extends \Drupal\views\Plugin\views\PluginBase
- class \Drupal\views\Plugin\views\PluginBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface, \Drupal\views\Plugin\views\ViewsPluginInterface, \Drupal\Component\Plugin\DependentPluginInterface, \Drupal\Core\Security\TrustedCallbackInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
Expanded class hierarchy of UserRow
Related topics
File
-
core/
modules/ user/ src/ Plugin/ views/ row/ UserRow.php, line 16
Namespace
Drupal\user\Plugin\views\rowView source
class UserRow extends EntityRow {
/**
* {@inheritdoc}
*/
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.