You are here

public function GoogleAuth::isActive in Open Social 8.2

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  2. 8 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  3. 8.3 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  4. 8.4 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  5. 8.5 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  6. 8.6 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  7. 8.7 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()
  8. 8.8 modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php \Drupal\social_auth_google\Plugin\Network\GoogleAuth::isActive()

Returns status of social network.

Return value

bool The status of the social network.

File

modules/custom/social_auth_google/src/Plugin/Network/GoogleAuth.php, line 61

Class

GoogleAuth
Defines a Network Plugin for Social Auth Google.

Namespace

Drupal\social_auth_google\Plugin\Network

Code

public function isActive() {
  return (bool) $this->settings
    ->isActive();
}