You are here

public function KeyRepositoryInterface::getKeysByType in Key 8

Get keys that use the specified key type.

Parameters

string $key_type_id: The key type ID to use.

Return value

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

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

File

src/KeyRepositoryInterface.php, line 42

Class

KeyRepositoryInterface
Provides the interface for a repository of Key entities.

Namespace

Drupal\key

Code

public function getKeysByType($key_type_id);