You are here

interface LingotekApiInterface in Lingotek Translation 8

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

Hierarchy

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\Remote
View 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);

}

Members