You are here

public function ViewsHandlerInterface::getField in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getField()

Shortcut to get a handler's raw field value.

This should be overridden for handlers with formulae or other non-standard fields. Because this takes an argument, fields overriding this can just call return parent::getField($formula)

1 method overrides ViewsHandlerInterface::getField()
HandlerBase::getField in core/modules/views/src/Plugin/views/HandlerBase.php
Shortcut to get a handler's raw field value.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 97

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function getField($field = NULL);