You are here

public function KeyRepositoryInterface::getKeysByStorageMethod in Key 8

Get keys that use the specified storage method.

Storage method is an annotation of a key's key provider.

Parameters

string $storage_method: The storage method of the key provider.

Return value

\Drupal\key\Entity\Key[] An array of key objects indexed by their ids.

1 method overrides KeyRepositoryInterface::getKeysByStorageMethod()
KeyRepository::getKeysByStorageMethod in src/KeyRepository.php
Get keys that use the specified storage method.

File

src/KeyRepositoryInterface.php, line 55

Class

KeyRepositoryInterface
Provides the interface for a repository of Key entities.

Namespace

Drupal\key

Code

public function getKeysByStorageMethod($storage_method);