public function Entity::getRoot

Implements \Drupal\Core\TypedData\TypedDataInterface::getRoot().

Overrides TypedDataInterface::getRoot

File

drupal/core/lib/Drupal/Core/Entity/Entity.php, line 499
Contains \Drupal\Core\Entity\Entity.

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getRoot() {
  return $this;
}