You are here

public function ViewTableEventVariables::getView in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/preprocess_event_dispatcher/src/Variables/ViewTableEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\ViewTableEventVariables::getView()

Get the view.

Return value

\Drupal\views\ViewExecutable View.

File

modules/preprocess_event_dispatcher/src/Variables/ViewTableEventVariables.php, line 29

Class

ViewTableEventVariables
Class ViewTableEventVariables.

Namespace

Drupal\preprocess_event_dispatcher\Variables

Code

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