You are here

public function LingotekHttp::getCurrentToken in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 8 src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  2. 4.0.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  3. 3.0.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  4. 3.1.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  5. 3.2.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  6. 3.3.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  7. 3.4.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  8. 3.5.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  9. 3.6.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  10. 3.7.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()
  11. 3.8.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getCurrentToken()

Overrides LingotekHttpInterface::getCurrentToken

File

src/Remote/LingotekHttp.php, line 111

Class

LingotekHttp
Lingotek HTTP implementation using Guzzle.

Namespace

Drupal\lingotek\Remote

Code

public function getCurrentToken() {
  return $this->config
    ->get('account.access_token');
}