You are here

public function ViewsHandlerInterface::getField in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getField()
  2. 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)

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);