public function TweetFetcherInterface::getCredentials in Media entity Twitter 8.2
Same name and namespace in other branches
- 8 src/TweetFetcherInterface.php \Drupal\media_entity_twitter\TweetFetcherInterface::getCredentials()
Returns the current Twitter API credentials.
Return value
array The API credentials. Will be an array with consumer_key, consumer_secret, oauth_access_token, and oauth_access_token_secret elements.
1 method overrides TweetFetcherInterface::getCredentials()
- TweetFetcher::getCredentials in src/
TweetFetcher.php - Returns the current Twitter API credentials.
File
- src/
TweetFetcherInterface.php, line 31
Class
- TweetFetcherInterface
- Defines a wrapper around the Twitter API.
Namespace
Drupal\media_entity_twitterCode
public function getCredentials();