class ExampleEventVariables in Hook Event Dispatcher 8
Same name and namespace in other branches
- 8.2 examples/preprocess_example_module/src/Variables/ExampleEventVariables.php \Drupal\preprocess_example_module\Event\Variables\ExampleEventVariables
- 3.x examples/preprocess_example_module/src/Variables/ExampleEventVariables.php \Drupal\preprocess_example_module\Event\Variables\ExampleEventVariables
Class ExampleEventVariables.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\Variables\AbstractEventVariables
- class \Drupal\preprocess_example_module\Event\Variables\ExampleEventVariables
Expanded class hierarchy of ExampleEventVariables
1 file declares its use of ExampleEventVariables
- ExamplePreprocessEventFactory.php in src/
Example/ preprocess_example_module/ src/ Event/ Factory/ ExamplePreprocessEventFactory.php
File
- src/
Example/ preprocess_example_module/ src/ Event/ Variables/ ExampleEventVariables.php, line 10
Namespace
Drupal\preprocess_example_module\Event\VariablesView source
class ExampleEventVariables extends AbstractEventVariables {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractEventVariables:: |
protected | property | Variables. | |
AbstractEventVariables:: |
public | function | Get a variable with a given name, return default if it does not exist. | 1 |
AbstractEventVariables:: |
public | function | Get a variable with a given name by reference. | 1 |
AbstractEventVariables:: |
public | function | Remove a given variable. | 1 |
AbstractEventVariables:: |
public | function | Set a variable to a given value. | 1 |
AbstractEventVariables:: |
public | function | Event Variables constructor. |