Expanded class hierarchy of ConfigEvent
class ConfigEvent extends Event {
/**
* Configuration object.
*
* @var Drupal\Core\Config\Config
*/
protected $config;
/**
* Configuration context object.
*
* @var \Drupal\Core\Config\Context\ContextInterface
*/
protected $context;
/**
* Constructs a configuration event object.
*
* @param \Drupal\Core\Config\Context\ContextInterface
* Configuration context object.
* @param \Drupal\Core\Config\Config
* (optional) Configuration object.
*/
public function __construct(ContextInterface $context, Config $config = NULL) {
$this->config = $config;
$this->context = $context;
}
/**
* Get configuration object.
*/
public function getConfig() {
return $this->config;
}
/**
* Gets configuration context object.
*
* @return \Drupal\Core\Config\Context\ContextInterface
* Configuration context.
*/
public function getContext() {
return $this->context;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigEvent:: |
protected | property | Configuration object. | |
ConfigEvent:: |
protected | property | Configuration context object. | |
ConfigEvent:: |
public | function | Get configuration object. | |
ConfigEvent:: |
public | function | Gets configuration context object. | |
ConfigEvent:: |
public | function | Constructs a configuration event object. | |
Event:: |
private | property | ||
Event:: |
private | property | ||
Event:: |
private | property | ||
Event:: |
public | function | Returns the EventDispatcher that dispatches this Event | |
Event:: |
public | function | Gets the event's name. | |
Event:: |
public | function | Returns whether further event listeners should be triggered. | |
Event:: |
public | function | Stores the EventDispatcher that dispatches this Event | |
Event:: |
public | function | Sets the event's name property. | |
Event:: |
public | function | Stops the propagation of the event to further event listeners. |