Issue #2625138 by Oleksiy, almaudoh: EntityRepository::loadEntityByUuid() implementation does not match EntityRepositoryInterface::loadEntityByUuid() @return documentation
(cherry picked from commit 8d6a091acb
)
8.1.x
parent
5212d2d089
commit
a172ab5b72
|
@ -22,8 +22,8 @@ interface EntityRepositoryInterface {
|
||||||
* @param string $uuid
|
* @param string $uuid
|
||||||
* The UUID of the entity to load.
|
* The UUID of the entity to load.
|
||||||
*
|
*
|
||||||
* @return \Drupal\Core\Entity\EntityInterface|null
|
* @return \Drupal\Core\Entity\EntityInterface|false
|
||||||
* The entity object, or NULL if there is no entity with the given UUID.
|
* The entity object, or FALSE if there is no entity with the given UUID.
|
||||||
*
|
*
|
||||||
* @throws \Drupal\Core\Entity\EntityStorageException
|
* @throws \Drupal\Core\Entity\EntityStorageException
|
||||||
* Thrown in case the requested entity type does not support UUIDs.
|
* Thrown in case the requested entity type does not support UUIDs.
|
||||||
|
|
Loading…
Reference in New Issue