public function FacebookAuthSettings::isActive in Open Social 8.4
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.2 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.3 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.5 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.6 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.7 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
- 8.8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::isActive()
Returns status of social network.
Return value
bool The status of the social network.
Overrides FacebookAuthSettingsInterface::isActive
File
- modules/
custom/ social_auth_facebook/ src/ Settings/ FacebookAuthSettings.php, line 76
Class
- FacebookAuthSettings
- Defines methods to get Social Auth Facebook app settings.
Namespace
Drupal\social_auth_facebook\SettingsCode
public function isActive() {
return (bool) $this->config
->get('status');
}