You are here

public function LinkedInAuth::isActive in Open Social 8.5

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

Returns status of social network.

Return value

bool The status of the social network.

File

modules/custom/social_auth_linkedin/src/Plugin/Network/LinkedInAuth.php, line 85

Class

LinkedInAuth
Defines a Network Plugin for Social Auth LinkedIn.

Namespace

Drupal\social_auth_linkedin\Plugin\Network

Code

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