You are here

public function AuthenticationManagerInterface::getPlugin in RESTful 7.2

Get an authentication plugin instance by instance ID.

Parameters

string $instance_id: The instance ID.

Return value

AuthenticationInterface The plugin.

Throws

PluginNotFoundException If the plugin instance cannot be found.

1 method overrides AuthenticationManagerInterface::getPlugin()
AuthenticationManager::getPlugin in src/Authentication/AuthenticationManager.php
Get an authentication plugin instance by instance ID.

File

src/Authentication/AuthenticationManagerInterface.php, line 96
Contains \Drupal\restful\Authentication\AuthenticationManagerInterface

Class

AuthenticationManagerInterface

Namespace

Drupal\restful\Authentication

Code

public function getPlugin($instance_id);