Manages entity type plugin definitions.
Each entity type definition array is set in the entity type's annotation and altered by hook_entity_info_alter().
The defaults for the plugin definition are provided in \Drupal\Core\Entity\EntityManager::defaults.
Expanded class hierarchy of EntityManager
\Drupal\Core\Entity\Annotation\EntityType
\Drupal\Core\Entity\EntityInterface
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityManager:: |
protected | property | The injection container that should be passed into the controller factory. | |
EntityManager:: |
protected | property | Contains instantiated controllers keyed by controller type and entity type. | |
EntityManager:: |
public | function | Creates a new access controller instance. | |
EntityManager:: |
public | function | Returns the administration path for an entity type's bundle. | |
EntityManager:: |
public | function | Returns an entity controller class. | |
EntityManager:: |
public | function | Creates a new form controller instance. | |
EntityManager:: |
public | function | Creates a new list controller instance. | |
EntityManager:: |
public | function | Creates a new render controller instance. | |
EntityManager:: |
public | function | Creates a new storage controller instance. | |
EntityManager:: |
public | function | Checks whether a certain entity type has a certain controller. | |
EntityManager:: |
public | function | Constructs a new Entity plugin manager. | |
PluginManagerBase:: |
protected | property | A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. | 3 |
PluginManagerBase:: |
protected | property | The object that discovers plugins managed by this manager. | |
PluginManagerBase:: |
protected | property | The object that instantiates plugins managed by this manager. | |
PluginManagerBase:: |
protected | property | The object that returns the preconfigured plugin instance appropriate for a particular runtime condition. | |
PluginManagerBase:: |
public | function |
Clears static and persistent plugin definition caches. Overrides CachedDiscoveryInterface:: |
|
PluginManagerBase:: |
public | function |
Returns a preconfigured instance of a plugin. Overrides FactoryInterface:: |
6 |
PluginManagerBase:: |
public | function |
Gets a specific plugin definition. Overrides DiscoveryInterface:: |
|
PluginManagerBase:: |
public | function |
Gets the definition of all plugins for this type. Overrides DiscoveryInterface:: |
|
PluginManagerBase:: |
public | function |
Returns a preconfigured instance of a plugin. Overrides MapperInterface:: |
6 |
PluginManagerBase:: |
public | function | Performs extra processing on plugin definitions. | 2 |