function ContentEntityNullStorage::load

Overrides EntityStorageBase::load

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 30

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function load($id) {
  return NULL;
}

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