ConfigTranslationLocalTasks
class ConfigTranslationLocalTasks extends DeriverBase implements ContainerDeriverInterface (View source)
Provides dynamic local tasks for config translation.
Properties
| protected array | $derivatives | List of derivative definitions. |
from DeriverBase |
| protected ConfigMapperManagerInterface | $mapperManager | The mapper plugin discovery service. |
|
| protected string | $basePluginId | The base plugin ID. |
Methods
array
getDerivativeDefinition(string $derivative_id, array|PluginDefinitionInterface $base_plugin_definition)
Gets the definition of a derivative plugin.
from
DeriverBase
array
getDerivativeDefinitions(array $base_plugin_definition)
Gets the definition of all derivatives of a base plugin.
__construct(string $base_plugin_id, ConfigMapperManagerInterface $mapper_manager)
Constructs a new ConfigTranslationLocalTasks.
static ContainerDeriverInterface
create(ContainerInterface $container, string $base_plugin_id)
Creates a new class instance.
Details
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.
__construct(string $base_plugin_id, ConfigMapperManagerInterface $mapper_manager)
Constructs a new ConfigTranslationLocalTasks.
static ContainerDeriverInterface
create(ContainerInterface $container, string $base_plugin_id)
Creates a new class instance.