You are here

public function Oauth2ClientPluginBase::getName in OAuth2 Client 8.3

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

Retrieves the human-readable name of the Oauth2 Client plugin.

Return value

string The name of the plugin.

Overrides Oauth2ClientPluginInterface::getName

File

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

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getName() {
  $this
    ->checkKeyDefined('name');
  return $this->pluginDefinition['name'];
}