LingotekApiInterface.php in Lingotek Translation 8
File
src/Remote/LingotekApiInterface.php
View source
<?php
namespace Drupal\lingotek\Remote;
use Symfony\Component\DependencyInjection\ContainerInterface;
interface LingotekApiInterface {
public static function create(ContainerInterface $container);
public function getAccountInfo();
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);
}