Config import subscriber for config import events.
Hierarchy
- class \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase implements EventSubscriberInterface uses StringTranslationTrait
- class \Drupal\Core\EventSubscriber\ConfigImportSubscriber
File
- core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 16
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigImportSubscriber::$moduleData | protected | property | Module data. |
ConfigImportSubscriber::$themeData | protected | property | Theme data. |
ConfigImportSubscriber::$themeHandler | protected | property | The theme handler. |
ConfigImportSubscriber::getModuleData | protected | function | Gets module data. |
ConfigImportSubscriber::getNames | protected | function | Gets human readable extension names. |
ConfigImportSubscriber::getThemeData | protected | function | Gets theme data. |
ConfigImportSubscriber::onConfigImporterValidate | public | function | Validates the configuration to be imported. Overrides ConfigImportValidateEventSubscriberBase::onConfigImporterValidate |
ConfigImportSubscriber::validateDependencies | protected | function | Validates configuration being imported does not have unmet dependencies. |
ConfigImportSubscriber::validateModules | protected | function | Validates module installations and uninstallations. |
ConfigImportSubscriber::validateThemes | protected | function | Validates theme installations and uninstallations. |
ConfigImportSubscriber::__construct | public | function | Constructs the ConfigImportSubscriber. |
ConfigImportValidateEventSubscriberBase::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
Please login to continue.