public function EntityInterface::getNGEntity

Removes any possible (backward compatibility) decorator in use.

Return value

\Drupal\Core\Entity\EntityInterface The original, not backward compatible entity object.

See also

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

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

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getNGEntity();