class ConfigEvent

Hierarchy

  • class \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of ConfigEvent

2 files declare their use of ConfigEvent

File

drupal/core/lib/Drupal/Core/Config/ConfigEvent.php, line 8

Namespace

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

  /**
   * Configuration object.
   *
   * @var Drupal\Core\Config\Config
   */
  protected $config;

  /**
   * Constructor.
   */
  public function __construct(Config $config) {
    $this->config = $config;
  }

  /**
   * Get configuration object.
   */
  public function getConfig() {
    return $this->config;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEvent::$config protected property Configuration object.
ConfigEvent::getConfig public function Get configuration object.
ConfigEvent::__construct public function Constructor.
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.