class ConfigImporterEvent

Hierarchy

Expanded class hierarchy of ConfigImporterEvent

3 files declare their use of ConfigImporterEvent

File

drupal/core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 12
Contains \Drupal\Core\Config\ConfigImporterEvent.

Namespace

Drupal\Core\Config
View source
class ConfigImporterEvent extends Event {

  /**
   * Configuration import object.
   *
   * @var \Drupal\Core\Config\ConfigImporter
   */
  protected $configImporter;

  /**
   * Constructs ConfigImporterEvent.
   *
   * @param \Drupal\Core\Config\ConfigImporter $config_importer
   *   A config import object to notify listeners about.
   */
  public function __construct(ConfigImporter $config_importer) {
    $this->configImporter = $config_importer;
  }

  /**
   * Gets the config import object.
   *
   * @return \Drupal\Core\Config\ConfigImporter
   *   The ConfigImporter object.
   */
  public function getConfigImporter() {
    return $this->configImporter;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigImporterEvent::$configImporter protected property Configuration import object.
ConfigImporterEvent::getConfigImporter public function Gets the config import object.
ConfigImporterEvent::__construct public function Constructs ConfigImporterEvent.
Event::$dispatcher private property
Event::$name private property
Event::$propagationStopped private property
Event::getDispatcher public function Returns the EventDispatcher that dispatches this Event
Event::getName public function Gets the event's name.
Event::isPropagationStopped public function Returns whether further event listeners should be triggered.
Event::setDispatcher public function Stores the EventDispatcher that dispatches this Event
Event::setName public function Sets the event's name property.
Event::stopPropagation public function Stops the propagation of the event to further event listeners.