public static function Lingotek::availableLanguageTargetsWithoutSourceAsJSON in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.4 lib/Drupal/lingotek/Lingotek.php \Lingotek::availableLanguageTargetsWithoutSourceAsJSON()
2 calls to Lingotek::availableLanguageTargetsWithoutSourceAsJSON()
- LingotekApi::addContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Add a document to the Lingotek platform.
- LingotekApi::getCommentCreateWithTargetsParams in lib/
Drupal/ lingotek/ LingotekApi.php - Gets the comment-specific parameters for use in a createContentDocumentWithTargets API call.
File
- lib/
Drupal/ lingotek/ Lingotek.php, line 387 - Defines Lingotek.
Class
- Lingotek
- A utility class for Lingotek translation.
Code
public static function availableLanguageTargetsWithoutSourceAsJSON($source_lingotek_locale) {
return drupal_json_encode(self::availableLanguageTargets('lingotek_locale', FALSE, $source_lingotek_locale));
}