You are here

public function ViewFieldEventVariables::getField in Hook Event Dispatcher 8

Get the field.

Return value

\Drupal\views\Plugin\views\field\EntityField Field.

File

src/Event/Preprocess/Variables/ViewFieldEventVariables.php, line 16

Class

ViewFieldEventVariables
Class ViewFieldEventVariables.

Namespace

Drupal\hook_event_dispatcher\Event\Preprocess\Variables

Code

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