You are here

public function KeyRepositoryInterface::getKeysByTypeGroup in Key 8

Get keys that use a key type in the specified group.

Group is an annotation of a key's key type.

Parameters

string $type_group: The key type group on which to filter.

Return value

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

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

File

src/KeyRepositoryInterface.php, line 68

Class

KeyRepositoryInterface
Provides the interface for a repository of Key entities.

Namespace

Drupal\key

Code

public function getKeysByTypeGroup($type_group);