You are here

protected function EncryptionProfile::getKeyRepository in Encrypt 8.3

Gets the key repository service.

Return value

\Drupal\Key\KeyRepository The Key repository service.

File

src/Entity/EncryptionProfile.php, line 257

Class

EncryptionProfile
Defines the EncryptionProfile entity.

Namespace

Drupal\encrypt\Entity

Code

protected function getKeyRepository() {
  return \Drupal::service('key.repository');
}