ConfigRenameEvent

Configuration event fired when renaming a configuration object. Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\Core\Config\ConfigCrudEventclass \Drupal\Core\Config\ConfigRenameEvent File core/lib/Drupal/Core/Config/ConfigRenameEvent.php, line 8 Namespace Drupal\Core\Config Members Name Modifiers Type Description ConfigCrudEvent::$config protected property Configuration object. ConfigCrudEvent::getConfig public function Gets configuration

ConfigPrefixLengthException

Exception thrown when the config prefix length is exceeded. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigPrefixLengthException File core/lib/Drupal/Core/Config/ConfigPrefixLengthException.php, line 8 Namespace Drupal\Core\Config Members

ConfigNamesMapper::__construct

public ConfigNamesMapper::__construct($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $string_translation, LanguageManagerInterface $language_manager) Constructs a ConfigNamesMapper. Parameters $plugin_id: The config mapper plugin ID. mixed $plugin_definition: An array of

ConfigNamesMapper::setRouteCollection

public ConfigNamesMapper::setRouteCollection(RouteCollection $collection) Sets the route collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection. Overrides ConfigMapperInterface::setRouteCollection File core/modules/config_translation/src/ConfigNamesMapper.php, line 159 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function setRouteCollection(RouteCollection $collection) {

ConfigNamesMapper::setLangcode

public ConfigNamesMapper::setLangcode($langcode) Sets the original language code. Parameters string $langcode: The langcode. Return value $this Overrides ConfigMapperInterface::setLangcode File core/modules/config_translation/src/ConfigNamesMapper.php, line 407 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function setLangcode($langcode) { $this->langcode = $langcode; return $this; }

ConfigNamesMapper::processRoute

protected ConfigNamesMapper::processRoute(Route $route) Allows to process all config translation routes. Parameters \Symfony\Component\Routing\Route $route: The route object to process. File core/modules/config_translation/src/ConfigNamesMapper.php, line 204 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code protected function processRoute(Route $route) { }

ConfigNamesMapper::populateFromRouteMatch

public ConfigNamesMapper::populateFromRouteMatch(RouteMatchInterface $route_match) Populate the config mapper with request data. @todo Replace $request with RouteMatch https://www.drupal.org/node/2295255. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Overrides ConfigMapperInterface::populateFromRouteMatch File core/modules/config_translation/src/ConfigNamesMapper.php, line 369 Class ConfigNamesMapper Configuration mapper base implementation. Namespac

ConfigNamesMapper::hasTranslation

public ConfigNamesMapper::hasTranslation(LanguageInterface $language) Checks whether there is already a translation for this mapper. Parameters \Drupal\Core\Language\LanguageInterface $language: A language object. Return value bool TRUE if any of the configuration elements have a translation in the given language, FALSE otherwise. Overrides ConfigMapperInterface::hasTranslation File core/modules/config_translation/src/ConfigNamesMapper.php, line 450 Class ConfigNamesMapper Configuration

ConfigNamesMapper::hasTranslatable

public ConfigNamesMapper::hasTranslatable() Checks if pieces of this configuration mapper have translatables. Return value bool TRUE if at least one of the configuration elements has translatables, FALSE otherwise. Overrides ConfigMapperInterface::hasTranslatable File core/modules/config_translation/src/ConfigNamesMapper.php, line 438 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function hasTranslatable() { foreach

ConfigNamesMapper::hasSchema

public ConfigNamesMapper::hasSchema() Checks that all pieces of this configuration mapper have a schema. Return value bool TRUE if all of the elements have schema, FALSE otherwise. Overrides ConfigMapperInterface::hasSchema File core/modules/config_translation/src/ConfigNamesMapper.php, line 426 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function hasSchema() { foreach ($this->getConfigNames() as $name) { i