public function EntityInterface::getBCEntity

Gets a backward compatibility decorator entity.

Return value

\Drupal\Core\Entity\EntityInterface The backward compatible entity.

See also

\Drupal\Core\Entity\EntityInterface::getNGEntity()

3 methods override EntityInterface::getBCEntity()
Entity::getBCEntity in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements \Drupal\Core\Entity\EntityInterface::getBCEntity().
EntityBCDecorator::getBCEntity in drupal/core/lib/Drupal/Core/Entity/EntityBCDecorator.php
Overrides Entity::getBCEntity().
ViewUI::getBCEntity in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements Drupal\Core\Entity\EntityInterface::getBCEntity().

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getBCEntity();