You are here

public function ViewTableEventVariables::getView in Hook Event Dispatcher 8

Get the view.

Return value

\Drupal\views\ViewExecutable View.

File

src/Event/Preprocess/Variables/ViewTableEventVariables.php, line 26

Class

ViewTableEventVariables
Class ViewTableEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

public function getView() {
  return $this->variables['view'];
}