class BundleConfigImportValidate

Entity config importer validation event subscriber.

Hierarchy

File

core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php, line 14

Namespace

Drupal\Core\Entity\Event

Members

Name Modifiers Type Description
BundleConfigImportValidate::$configManager protected property The config manager.
BundleConfigImportValidate::$entityManager protected property The entity manager.
BundleConfigImportValidate::onConfigImporterValidate public function Ensures bundles that will be deleted are not in use. Overrides ConfigImportValidateEventSubscriberBase::onConfigImporterValidate
BundleConfigImportValidate::__construct public function Constructs the event subscriber.
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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Event!BundleConfigImportValidate.php/class/BundleConfigImportValidate/8.1.x