ViewsEntityRow
class ViewsEntityRow implements ContainerDeriverInterface (View source)
Provides views row plugin definitions for all non-special entity types.
Traits
Provides a standard way to announce deprecated properties.
Properties
| protected | $deprecatedProperties | {@inheritdoc} | |
| protected array | $derivatives | Stores all entity row plugin information. |
|
| protected string | $basePluginId | The base plugin ID that the derivative is for. |
|
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager. |
|
| protected ViewsData | $viewsData | The views data service. |
Methods
Constructs a ViewsEntityRow object.
Creates a new class instance.
Gets the definition of a derivative plugin.
Gets the definition of all derivatives of a base plugin.
Details
__get($name)
Allows to access deprecated/removed properties.
This method must be public.
__construct(string $base_plugin_id, EntityTypeManagerInterface $entity_type_manager, ViewsData $views_data)
Constructs a ViewsEntityRow object.
static ContainerDeriverInterface
create(ContainerInterface $container, string $base_plugin_id)
Creates a new class instance.
array
getDerivativeDefinition(string $derivative_id, array|PluginDefinitionInterface $base_plugin_definition)
Gets the definition of a derivative plugin.
array
getDerivativeDefinitions(array $base_plugin_definition)
Gets the definition of all derivatives of a base plugin.