public function KeyEntityFormEnhancer::__construct in Apigee Edge 8
KeyEntityFormEnhancer constructor.
Parameters
\Drupal\apigee_edge\SDKConnectorInterface $connector: The SDK connector service.
\Drupal\apigee_edge\OauthTokenStorageInterface $oauth_token_storage: The OAuth token storage.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager serivce.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Component\Utility\EmailValidatorInterface $email_validator: The email validator.
File
- src/
KeyEntityFormEnhancer.php, line 115
Class
- KeyEntityFormEnhancer
- Enhances Apigee Edge related Key entity add/edit forms.
Namespace
Drupal\apigee_edgeCode
public function __construct(SDKConnectorInterface $connector, OauthTokenStorageInterface $oauth_token_storage, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, EmailValidatorInterface $email_validator) {
$this->connector = $connector;
$this->entityTypeManager = $entity_type_manager;
$this->oauthTokenStorage = $oauth_token_storage;
$this->configFactory = $config_factory;
$this->emailValidator = $email_validator;
}