You are here

public function AbstractPreprocessEvent::__construct in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\AbstractPreprocessEvent::__construct()

PreprocessEvent constructor.

Parameters

\Drupal\preprocess_event_dispatcher\Variables\AbstractEventVariables $variables: The variables.

File

modules/preprocess_event_dispatcher/src/Event/AbstractPreprocessEvent.php, line 28

Class

AbstractPreprocessEvent
Class AbstractPreprocessEvent.

Namespace

Drupal\preprocess_event_dispatcher\Event

Code

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