You are here

interface TwitterAuthSettingsInterface in Open Social 8.5

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  2. 8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  3. 8.2 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  4. 8.3 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  5. 8.4 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  6. 8.6 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  7. 8.7 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface
  8. 8.8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettingsInterface

Defines an interface for Social Auth Twitter settings.

Hierarchy

Expanded class hierarchy of TwitterAuthSettingsInterface

All classes that implement TwitterAuthSettingsInterface

File

modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettingsInterface.php, line 8

Namespace

Drupal\social_auth_twitter\Settings
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
TwitterAuthSettingsInterface::getConsumerKey public function Gets the consumer key. 1
TwitterAuthSettingsInterface::getConsumerSecret public function Gets the consumer secret. 1
TwitterAuthSettingsInterface::getSocialNetworkKey public static function Returns key-name of a social network. 1
TwitterAuthSettingsInterface::isActive public function Returns status of social network. 1