class EntityMalformedException

Same name in other branches
  1. 7.x includes/entity.inc \EntityMalformedException
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityMalformedException.php \Drupal\Core\Entity\EntityMalformedException
  3. 10 core/lib/Drupal/Core/Entity/EntityMalformedException.php \Drupal\Core\Entity\EntityMalformedException
  4. 11.x core/lib/Drupal/Core/Entity/EntityMalformedException.php \Drupal\Core\Entity\EntityMalformedException

Defines an exception thrown when a malformed entity is passed.

Hierarchy

Expanded class hierarchy of EntityMalformedException

10 files declare their use of EntityMalformedException
ConfigEntityStorage.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
ConfigEntityStorageTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
ConfigEntityTest.php in core/modules/config/tests/src/Functional/ConfigEntityTest.php
EntityLabel.php in core/modules/views/src/Plugin/views/field/EntityLabel.php
EntityUrlTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php

... See full list

File

core/lib/Drupal/Core/Entity/EntityMalformedException.php, line 8

Namespace

Drupal\Core\Entity
View source
class EntityMalformedException extends \Exception {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.