ConfigSync

Construct the storage changes in a configuration synchronization form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\config\Form\ConfigSync File core/modules/config/src/Form/ConfigSync.php, line 25 Namespace Drupal\config\Form Members Name Modifiers Type Description Config

ConfigSubscriber::__construct

public ConfigSubscriber::__construct(LanguageManagerInterface $language_manager, LanguageDefault $language_default, ConfigFactoryInterface $config_factory, LanguageNegotiatorInterface $language_negotiator) Constructs a new class object. Parameters \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Language\LanguageDefault $language_default: The default language. \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration facto

ConfigSubscriber::setPathProcessorLanguage

public ConfigSubscriber::setPathProcessorLanguage(PathProcessorLanguage $path_processor_language) Injects the language path processors on multilingual site configuration. Parameters \Drupal\language\HttpKernel\PathProcessorLanguage $path_processor_language: The language path processor. File core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 136 Class ConfigSubscriber Deletes the container if default language has changed. Namespace Drupal\language\EventSubscriber Code

ConfigSubscriber::onConfigSave

public ConfigSubscriber::onConfigSave(ConfigCrudEvent $event) Causes the container to be rebuilt on the next request. This event subscriber assumes that the new default langcode and old default langcode are valid langcodes. If the schema definition of either system.site:default_langcode or language.negotiation::url.prefixes changes then this event must be changed to work with both the old and new schema definition so this event is update safe. Parameters ConfigCrudEvent $event: The configurati

ConfigSubscriber::onConfigImporterValidate

public ConfigSubscriber::onConfigImporterValidate(ConfigImporterEvent $event) Checks that the Configuration module is not being uninstalled. Parameters ConfigImporterEvent $event: The config import event. Overrides ConfigImportValidateEventSubscriberBase::onConfigImporterValidate File core/modules/config/src/ConfigSubscriber.php, line 21 Class ConfigSubscriber Config subscriber. Namespace Drupal\config Code public function onConfigImporterValidate(ConfigImporterEvent $event) { $impo

ConfigSubscriber::getSubscribedEvents

static ConfigSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) array('eve

ConfigSubscriber::getSubscribedEvents

static ConfigSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) array('eve

ConfigSubscriber::$pathProcessorLanguage

The language path processor. Type: \Drupal\language\HttpKernel\PathProcessorLanguage File core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 54 Class ConfigSubscriber Deletes the container if default language has changed. Namespace Drupal\language\EventSubscriber Code protected $pathProcessorLanguage;

ConfigSubscriber::$languageNegotiator

The language negotiator. Type: \Drupal\language\LanguageNegotiatorInterface File core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 47 Class ConfigSubscriber Deletes the container if default language has changed. Namespace Drupal\language\EventSubscriber Code protected $languageNegotiator;

ConfigSubscriber::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 26 Class ConfigSubscriber Deletes the container if default language has changed. Namespace Drupal\language\EventSubscriber Code protected $languageManager;