public function ContentEntityNullStorage::load in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::load()
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.
Overrides EntityStorageBase::load
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityNullStorage.php, line 35 - Contains \Drupal\Core\Entity\ContentEntityNullStorage.
Class
- ContentEntityNullStorage
- Defines a null entity storage.
Namespace
Drupal\Core\EntityCode
public function load($id) {
return NULL;
}