TwitterAuthSettingsInterface.php in Open Social 8.9
Same filename and directory in other branches
- 8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.2 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.3 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.4 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.5 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.6 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.7 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
- 8.8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php
Namespace
Drupal\social_auth_twitter\SettingsFile
modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.phpView source
<?php
namespace Drupal\social_auth_twitter\Settings;
/**
* Defines an interface for Social Auth Twitter settings.
*/
interface TwitterAuthSettingsInterface {
/**
* Gets the consumer key.
*
* @return string
* The consumer key.
*/
public function getConsumerKey();
/**
* Gets the consumer secret.
*
* @return string
* The consumer secret.
*/
public function getConsumerSecret();
/**
* Returns status of social network.
*
* @return bool
* The status of the social network.
*/
public function isActive();
/**
* Returns key-name of a social network.
*
* @return string
* The key-name of a social network.
*/
public static function getSocialNetworkKey();
}
Interfaces
Name | Description |
---|---|
TwitterAuthSettingsInterface | Defines an interface for Social Auth Twitter settings. |