class FakeEventVariables in Hook Event Dispatcher 8
Class FakeEventVariables.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Preprocess\Variables\AbstractEventVariables
- class \Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers\FakeEventVariables
Expanded class hierarchy of FakeEventVariables
File
- tests/
src/ Unit/ Preprocess/ Helpers/ FakeEventVariables.php, line 10
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersView source
class FakeEventVariables 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. |