interface LingotekApiInterface in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 4.0.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.0.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.1.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.2.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.3.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.4.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.5.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.6.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.7.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
- 3.8.x src/Remote/LingotekApiInterface.php \Drupal\lingotek\Remote\LingotekApiInterface
Hierarchy
- interface \Drupal\lingotek\Remote\LingotekApiInterface
Expanded class hierarchy of LingotekApiInterface
All classes that implement LingotekApiInterface
2 files declare their use of LingotekApiInterface
- Lingotek.php in src/
Lingotek.php - Contains \Drupal\lingotek\Lingotek.
- LingotekFake.php in tests/
modules/ lingotek_test/ src/ LingotekFake.php
File
- src/
Remote/ LingotekApiInterface.php, line 12 - Contains \Drupal\lingotek\Remote\LingotekApiInterface.
Namespace
Drupal\lingotek\RemoteView source
interface LingotekApiInterface {
public static function create(ContainerInterface $container);
public function getAccountInfo();
/**
* Get the available locales on Lingotek.
*
* @return array|bool
* Array of locales (as in de-DE, es-ES). FALSE if there is an error.
*/
public function getLocales();
public function addDocument($args);
public function patchDocument($id, $args);
public function deleteDocument($id);
public function getDocument($id);
public function documentExists($id);
public function getDocumentTranslationStatuses($id);
public function getDocumentTranslationStatus($id, $locale);
public function getDocumentInfo($id);
public function getDocumentStatus($id);
public function addTranslation($id, $locale, $workflow_id = NULL);
public function getTranslation($id, $locale);
public function deleteTranslation($id, $locale);
public function getCommunities();
public function getProjects($community_id);
public function getVaults($community_id);
public function getWorkflows($community_id);
}