function EntityAdapter::getValue

Overrides TypedData::getValue

File

core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php, line 60

Class

EntityAdapter
Defines the "entity" data type.

Namespace

Drupal\Core\Entity\Plugin\DataType

Code

public function getValue() {
  return $this->entity;
}

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