You are here

public function KeyProvider::additionalProviders in Entity Share 8.3

Detects if key module service was injected.

Return value

bool True if the KeyRepository is present.

File

modules/entity_share_client/src/Service/KeyProvider.php, line 59

Class

KeyProvider
Abstraction layer to support local storage and Key module.

Namespace

Drupal\entity_share_client\Service

Code

public function additionalProviders() {
  return $this->keyRepository instanceof KeyRepositoryInterface;
}