public function TwitterAuthSettings::isActive in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.2 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.3 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.4 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.5 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.7 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
- 8.8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::isActive()
Returns status of social network.
Return value
bool The status of the social network.
Overrides TwitterAuthSettingsInterface::isActive
File
- modules/
custom/ social_auth_twitter/ src/ Settings/ TwitterAuthSettings.php, line 51
Class
- TwitterAuthSettings
- Returns the client information.
Namespace
Drupal\social_auth_twitter\SettingsCode
public function isActive() {
return (bool) $this->config
->get('status');
}