public static function ClientAuthorizationPluginBase::create in Entity Share 8.3
Creates an instance of the plugin.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the plugin.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Return value
static Returns an instance of this plugin.
Overrides ContainerFactoryPluginInterface::create
1 call to ClientAuthorizationPluginBase::create()
- Oauth::create in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ Oauth.php - Creates an instance of the plugin.
1 method overrides ClientAuthorizationPluginBase::create()
- Oauth::create in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ Oauth.php - Creates an instance of the plugin.
File
- modules/
entity_share_client/ src/ ClientAuthorization/ ClientAuthorizationPluginBase.php, line 73
Class
- ClientAuthorizationPluginBase
- Base class for Client authorization plugins.
Namespace
Drupal\entity_share_client\ClientAuthorizationCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_share_client.key_provider'), $container
->get('keyvalue'), $container
->get('uuid'), $container
->get('http_client_factory'));
}