public function FormAssemblyKeyService::additionalProviders in FormAssembly 8
Detects if key module service was injected.
Return value
bool True if the KeyRepository is present.
File
- src/
FormAssemblyKeyService.php, line 59  
Class
- FormAssemblyKeyService
 - This service retrieves the appropriate api key from the configured provider.
 
Namespace
Drupal\formassemblyCode
public function additionalProviders() {
  return $this->keyRepository instanceof KeyRepositoryInterface;
}