ConfigFormBase

Base class for implementing system configuration forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTrait File core/lib/Drupal/Core/Form/ConfigFormBase.php, line 11 Namespace Drupal\Core\Form Members Name Modifiers Type Descripti

ConfigFieldMapper::setEntity

public ConfigFieldMapper::setEntity(ConfigEntityInterface $entity) Sets the entity instance for this mapper. This method can only be invoked when the concrete entity is known, that is in a request for an entity translation path. After this method is called, the mapper is fully populated with the proper display title and configuration names to use to check permissions or display a translation screen. Parameters \Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The configuration entity t

ConfigFieldMapper::getTypeLabel

public ConfigFieldMapper::getTypeLabel() Returns the label of the type of data the mapper encapsulates. Return value string The label of the type of data the mapper encapsulates. Overrides ConfigEntityMapper::getTypeLabel File core/modules/config_translation/src/ConfigFieldMapper.php, line 45 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getTypeLabel() { $base_entity_info = $this->entityManager->getDefinition(

ConfigFieldMapper::getOverviewRouteName

public ConfigFieldMapper::getOverviewRouteName() Returns route name for the translation overview route. Return value string Route name for the mapper. Overrides ConfigEntityMapper::getOverviewRouteName File core/modules/config_translation/src/ConfigFieldMapper.php, line 38 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getOverviewRouteName() { return 'entity.field_config.config_translation_overview.' . $this->plug

ConfigFieldMapper::getBaseRouteParameters

public ConfigFieldMapper::getBaseRouteParameters() Returns the route parameters for the base route the mapper is attached to. Return value array Overrides ConfigEntityMapper::getBaseRouteParameters File core/modules/config_translation/src/ConfigFieldMapper.php, line 27 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getBaseRouteParameters() { $parameters = parent::getBaseRouteParameters(); $base_entity_info = $this-

ConfigFieldMapper::$entity

Loaded entity instance to help produce the translation interface. Type: \Drupal\field\FieldConfigInterface Overrides ConfigEntityMapper::$entity File core/modules/config_translation/src/ConfigFieldMapper.php, line 22 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code protected $entity;

ConfigFieldMapper

Configuration mapper for fields. On top of plugin definition values on ConfigEntityMapper, the plugin definition for field mappers are required to contain the following additional keys: base_entity_type: The name of the entity type the fields are attached to. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\config_tr

ConfigFactoryOverrideInterface::loadOverrides

public ConfigFactoryOverrideInterface::loadOverrides($names) Returns config overrides. Parameters array $names: A list of configuration names that are being loaded. Return value array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides. File core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php, line 20 Class ConfigFactoryOverrideInterface Defines the interface for a configuration factory override object. Namespac

ConfigFactoryOverrideInterface::getCacheSuffix

public ConfigFactoryOverrideInterface::getCacheSuffix() The string to append to the configuration static cache name. Return value string A string to append to the configuration static cache name. File core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php, line 28 Class ConfigFactoryOverrideInterface Defines the interface for a configuration factory override object. Namespace Drupal\Core\Config Code public function getCacheSuffix();

ConfigFactoryOverrideInterface::getCacheableMetadata

public ConfigFactoryOverrideInterface::getCacheableMetadata($name) Gets the cacheability metadata associated with the config factory override. Parameters string $name: The name of the configuration override to get metadata for. Return value \Drupal\Core\Cache\CacheableMetadata A cacheable metadata object. File core/lib/Drupal/Core/Config/ConfigFactoryOverrideInterface.php, line 65 Class ConfigFactoryOverrideInterface Defines the interface for a configuration factory override object. Na