public function EntityBCDecorator::isEmpty

Forwards the call to the decorated entity.

Overrides ComplexDataInterface::isEmpty

File

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

Class

EntityBCDecorator
Provides backwards compatible (BC) access to entity fields.

Namespace

Drupal\Core\Entity

Code

public function isEmpty() {
  return $this->decorated
    ->isEmpty();
}