public function Node::getBCEntity

Overrides Entity::getBCEntity().

Overrides EntityNG::getBCEntity

File

drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 247
Definition of Drupal\node\Plugin\Core\Entity\Node.

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public function getBCEntity() {
  if (!isset($this->bcEntity)) {
    $this
      ->getPropertyDefinitions();
    $this->bcEntity = new NodeBCDecorator($this, $this->fieldDefinitions);
  }
  return $this->bcEntity;
}