public function ContentEntityNullStorage::loadByProperties in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadByProperties()
- 9 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::loadByProperties()
Load entities by their property values.
Parameters
array $values: An associative array where the keys are the property names and the values are the values those properties must have.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their ids.
Overrides EntityStorageBase::loadByProperties
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityNullStorage.php, line 57
Class
- ContentEntityNullStorage
- Defines a null entity storage.
Namespace
Drupal\Core\EntityCode
public function loadByProperties(array $values = []) {
return [];
}