You are here

public function AbstractPreprocessEvent::__construct in Hook Event Dispatcher 8

PreprocessEvent constructor.

Parameters

\Drupal\hook_event_dispatcher\Event\Preprocess\Variables\AbstractEventVariables $variables: The variables.

File

src/Event/Preprocess/AbstractPreprocessEvent.php, line 28

Class

AbstractPreprocessEvent
Class AbstractPreprocessEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess

Code

public function __construct(AbstractEventVariables $variables) {
  $this->variables = $variables;
}