You are here

public function TweetFetcherInterface::getCredentials in Media entity Twitter 8

Same name and namespace in other branches
  1. 8.2 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_twitter

Code

public function getCredentials();