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