function UncacheableFieldHandlerTrait::getValue

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::getValue()
  2. 8.9.x core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::getValue()
  3. 10 core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php \Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait::getValue()

See also

\Drupal\views\Plugin\views\Field\FieldHandlerInterface::getValue()

1 call to UncacheableFieldHandlerTrait::getValue()
UncacheableFieldHandlerTrait::doRender in core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php
Actually renders the field markup.
3 methods override UncacheableFieldHandlerTrait::getValue()
BulkForm::getValue in core/modules/views/src/Plugin/views/field/BulkForm.php
Gets the value that's supposed to be rendered.
Counter::getValue in core/modules/views/src/Plugin/views/field/Counter.php
Gets the value that's supposed to be rendered.
FieldFormButtonTest::getValue in core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldFormButtonTest.php
Gets the value that's supposed to be rendered.

File

core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php, line 58

Class

UncacheableFieldHandlerTrait
Trait encapsulating the logic for uncacheable field handlers.

Namespace

Drupal\views\Plugin\views\field

Code

protected abstract function getValue(ResultRow $row, $field = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.