public function KeyRepositoryInterface::getKeys in Key 8
Get Key entities.
Parameters
array $key_ids: (optional) An array of entity IDs, or NULL to load all entities.
Return value
\Drupal\key\Entity\Key[] An array of key entities, indexed by ID. Returns an empty array if no matching entities are found.
1 method overrides KeyRepositoryInterface::getKeys()
- KeyRepository::getKeys in src/
KeyRepository.php - Get Key entities.
File
- src/
KeyRepositoryInterface.php, line 20
Class
- KeyRepositoryInterface
- Provides the interface for a repository of Key entities.
Namespace
Drupal\keyCode
public function getKeys(array $key_ids = NULL);