protected function LingotekHttp::getBaseUrl in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8 src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 8.2 src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.0.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.1.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.2.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.3.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.4.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.5.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.6.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.7.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
- 3.8.x src/Remote/LingotekHttp.php \Drupal\lingotek\Remote\LingotekHttp::getBaseUrl()
Gets the API base url.
Return value
string The API base url.
4 calls to LingotekHttp::getBaseUrl()
- LingotekHttp::delete in src/
Remote/ LingotekHttp.php - Send a DELETE request.
- LingotekHttp::get in src/
Remote/ LingotekHttp.php - Send a GET request.
- LingotekHttp::patch in src/
Remote/ LingotekHttp.php - Send a PATCH request.
- LingotekHttp::post in src/
Remote/ LingotekHttp.php - Send a POST request.
File
- src/
Remote/ LingotekHttp.php, line 176
Class
- LingotekHttp
- Lingotek HTTP implementation using Guzzle.
Namespace
Drupal\lingotek\RemoteCode
protected function getBaseUrl() {
$base_url = $this->accountConfig
->get('host');
return $base_url;
}