public function ViewFieldEventVariables::getView in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Variables/ViewFieldEventVariables.php \Drupal\preprocess_event_dispatcher\Variables\ViewFieldEventVariables::getView()
Get the view.
Return value
\Drupal\views\ViewExecutable View.
File
- modules/
preprocess_event_dispatcher/ src/ Variables/ ViewFieldEventVariables.php, line 51
Class
- ViewFieldEventVariables
- Class ViewFieldEventVariables.
Namespace
Drupal\preprocess_event_dispatcher\VariablesCode
public function getView() : ViewExecutable {
return $this->variables['view'];
}