class NoCorrespondingEntityClassException

Exception thrown if an entity type is not represented by a class.

This might occur by calling a static method on an abstract class.

Hierarchy

See also

\Drupal\Core\Entity\Entity::getEntityTypeFromStaticClass()

File

core/lib/Drupal/Core/Entity/Exception/NoCorrespondingEntityClassException.php, line 12

Namespace

Drupal\Core\Entity\Exception

Members

Name Modifiers Type Description
NoCorrespondingEntityClassException::__construct public function Constructs an NoCorrespondingEntityClassException.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Exception!NoCorrespondingEntityClassException.php/class/NoCorrespondingEntityClassException/8.1.x