EntityStorageInterface::load

public EntityStorageInterface::load($id)

Loads one entity.

Parameters

mixed $id: The ID of the entity to load.

Return value

\Drupal\Core\Entity\EntityInterface|null An entity object. NULL if no matching entity is found.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 58

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function load($id);
doc_Drupal
2016-10-29 09:07:45
Comments
Leave a Comment

Please login to continue.