function ContentEntityNullStorage::has

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::has()
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::has()
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::has()

Overrides EntityStorageBase::has

File

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

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

protected function has($id, EntityInterface $entity) {
}

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