You are here

protected function ConfigurationHandler::triggerEvent in Configuration Management 7.3

39 calls to ConfigurationHandler::triggerEvent()
ContentTypeConfigurationHandler::loadFromDatabase in src/Handlers/ContentTypeConfigurationHandler.php
Loads the configuration from the database.
ContentTypeConfigurationHandler::removeFromDatabase in src/Handlers/ContentTypeConfigurationHandler.php
Deletes a configuration from the database.
ContentTypeConfigurationHandler::writeToDatabase in src/Handlers/ContentTypeConfigurationHandler.php
Saves the given configuration into the database.
EntityConfigurationHandler::loadFromDatabase in src/Handlers/EntityConfigurationHandler.php
Loads the configuration from the database.
EntityConfigurationHandler::removeFromDatabase in src/Handlers/EntityConfigurationHandler.php
Deletes a configuration from the database.

... See full list

File

src/Handlers/ConfigurationHandler.php, line 56

Class

ConfigurationHandler

Namespace

Configuration\Handlers

Code

protected function triggerEvent($event_name, Configuration $configuration, $settings = array(), $append_configuration_type = TRUE) {
  $event = new ConfigurationCRUDEvent($configuration, $settings);
  if ($append_configuration_type) {
    $event_name = $event_name . '.' . $this
      ->getType();
  }
  $this->configuration_manager
    ->dispatchEvent($event_name, $event);
  return $event;
}