public function TweetFetcher::getCredentials in Media entity Twitter 8
Same name and namespace in other branches
- 8.2 src/TweetFetcher.php \Drupal\media_entity_twitter\TweetFetcher::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.
Overrides TweetFetcherInterface::getCredentials
File
- src/
TweetFetcher.php, line 88
Class
- TweetFetcher
- Fetches (and caches) tweet data from Twitter's API.
Namespace
Drupal\media_entity_twitterCode
public function getCredentials() {
return $this->credentials;
}