You are here

class ExampleEventVariables in Hook Event Dispatcher 8

Same name and namespace in other branches
  1. 8.2 examples/preprocess_example_module/src/Variables/ExampleEventVariables.php \Drupal\preprocess_example_module\Event\Variables\ExampleEventVariables
  2. 3.x examples/preprocess_example_module/src/Variables/ExampleEventVariables.php \Drupal\preprocess_example_module\Event\Variables\ExampleEventVariables

Class ExampleEventVariables.

Hierarchy

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\Variables
View source
class ExampleEventVariables extends AbstractEventVariables {

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractEventVariables::$variables protected property Variables.
AbstractEventVariables::get public function Get a variable with a given name, return default if it does not exist. 1
AbstractEventVariables::getByReference public function Get a variable with a given name by reference. 1
AbstractEventVariables::remove public function Remove a given variable. 1
AbstractEventVariables::set public function Set a variable to a given value. 1
AbstractEventVariables::__construct public function Event Variables constructor.