function ViewsHandlerInterface::getField
Same name in other branches
- 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getField()
- 8.9.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getField()
- 10 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 99
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public function getField($field = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.