You are here

public function FieldHandlerInterface::getEntity in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::getEntity()

Gets the entity matching the current row and relationship.

Parameters

\Drupal\views\ResultRow $values: An object containing all retrieved values.

Return value

\Drupal\Core\Entity\EntityInterface Returns the entity matching the values.

1 method overrides FieldHandlerInterface::getEntity()
FieldPluginBase::getEntity in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Gets the entity matching the current row and relationship.

File

core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php, line 127
Contains \Drupal\views\Plugin\views\field\FieldHandlerInterface.

Class

FieldHandlerInterface
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function getEntity(ResultRow $values);