You are here

public function Oauth2ClientPluginBase::__construct in OAuth2 Client 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php \Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginBase::__construct()

Constructs a Oauth2ClientPluginBase object.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definitions.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The configuration factory service.

Overrides PluginBase::__construct

File

src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php, line 34

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $configFactory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configFactory = $configFactory;
}