class UserRow in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/views/row/UserRow.php \Drupal\user\Plugin\views\row\UserRow
- 9 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\views\Plugin\views\row\EntityRow extends \Drupal\views\Plugin\views\row\RowPluginBase uses EntityTranslationRenderTrait
- class \Drupal\user\Plugin\views\row\UserRow
Expanded class hierarchy of UserRow
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityRow:: |
public | property | The table the entity is using for storage. | |
EntityRow:: |
protected | property | The entity display repository. | |
EntityRow:: |
protected | property | The entity repository service. | |
EntityRow:: |
protected | property | Contains the entity type of this row plugin instance. | |
EntityRow:: |
protected | property | Stores the entity type ID of the result entities. | |
EntityRow:: |
protected | property | The entity type manager. | |
EntityRow:: |
protected | property | The language manager. | |
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | ||
EntityRow:: |
public static | function | ||
EntityRow:: |
protected | function | ||
EntityRow:: |
public | function |
Returns the entity type identifier. Overrides EntityTranslationRenderTrait:: |
|
EntityRow:: |
protected | function | ||
EntityRow:: |
protected | function |
Returns the language manager. Overrides EntityTranslationRenderTrait:: |
|
EntityRow:: |
protected | function |
Returns the top object of a view. Overrides EntityTranslationRenderTrait:: |
|
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | ||
EntityRow:: |
public | function | Constructs a new EntityRow object. | |
EntityTranslationRenderTrait:: |
protected | property | The renderer to be used to render the entity row. | |
EntityTranslationRenderTrait:: |
public | function | Returns the entity translation matching the configured row language. | |
EntityTranslationRenderTrait:: |
protected | function | Returns the current renderer. | |
UserRow:: |
protected | function |
Overrides EntityRow:: |