You are here

public function Oauth2ClientPluginBase::displaySuccessMessage in OAuth2 Client 8.3

Check the plugin definition for success_message or return a static value.

Return value

bool Should a success message be displayed to the user?

Overrides Oauth2ClientPluginInterface::displaySuccessMessage

1 call to Oauth2ClientPluginBase::displaySuccessMessage()
AuthCodeExample::storeAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeExample.php
Stores access tokens obtained by this client.

File

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

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function displaySuccessMessage() {
  return $this->pluginDefinition['success_message'] ?? FALSE;
}