public function EntityStorageInterface::loadByProperties in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::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.
1 method overrides EntityStorageInterface::loadByProperties()
- EntityStorageBase::loadByProperties in core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php - Load entities by their property values.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityStorageInterface.php, line 110 - Contains \Drupal\Core\Entity\EntityStorageInterface.
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function loadByProperties(array $values = array());