
| Current Path : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/Exception/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/Exception/AmbiguousEntityClassException.php |
<?php
namespace Drupal\Core\Entity\Exception;
/**
* Exception thrown if multiple entity types exist for an entity class.
*
* @see hook_entity_info_alter()
*/
class AmbiguousEntityClassException extends \Exception {
/**
* Constructs an AmbiguousEntityClassException.
*
* @param string $class
* The entity parent class.
*/
public function __construct($class) {
$message = sprintf('Multiple entity types found for %s.', $class);
parent::__construct($message);
}
}