public function OpenIDConnectClientEntity::__construct in OpenID Connect / OAuth client 2.x
Constructs an Entity object.
Parameters
array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified.
string $entity_type: The type of the entity to create.
Overrides ConfigEntityBase::__construct
File
- src/
Entity/ OpenIDConnectClientEntity.php, line 100
Class
- OpenIDConnectClientEntity
- Defines the OpenID Connect client entity.
Namespace
Drupal\openid_connect\EntityCode
public function __construct(array $values, $entity_type) {
parent::__construct($values, $entity_type);
$this->pluginManager = \Drupal::service('plugin.manager.openid_connect_client');
$this->authmap = \Drupal::service('externalauth.authmap');
}