public function ViewsHandlerInterface::getField in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getField()
- 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\viewsCode
public function getField($field = NULL);