Config subscriber.
Hierarchy
- class \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase implements EventSubscriberInterface uses StringTranslationTrait
- class \Drupal\config\ConfigSubscriber
File
- core/modules/config/src/ConfigSubscriber.php, line 13
Namespace
Drupal\config
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigSubscriber::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides ConfigImportValidateEventSubscriberBase::getSubscribedEvents |
ConfigSubscriber::onConfigImporterValidate | public | function | Checks that the Configuration module is not being uninstalled. Overrides ConfigImportValidateEventSubscriberBase::onConfigImporterValidate |
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.