You are here

public function KeyRepositoryInterface::getKeysByProvider in Key 8

Get keys that use the specified key provider.

Parameters

string $key_provider_id: The key provider ID to use.

Return value

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

1 method overrides KeyRepositoryInterface::getKeysByProvider()
KeyRepository::getKeysByProvider in src/KeyRepository.php
Get keys that use the specified key provider.

File

src/KeyRepositoryInterface.php, line 31

Class

KeyRepositoryInterface
Provides the interface for a repository of Key entities.

Namespace

Drupal\key

Code

public function getKeysByProvider($key_provider_id);