You are here

public static function Lingotek::getLanguagesWithoutSourceAsJSON in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.5 lib/Drupal/lingotek/Lingotek.php \Lingotek::getLanguagesWithoutSourceAsJSON()
  2. 7.6 lib/Drupal/lingotek/Lingotek.php \Lingotek::getLanguagesWithoutSourceAsJSON()
1 call to Lingotek::getLanguagesWithoutSourceAsJSON()
LingotekApi::addContentDocument in lib/Drupal/lingotek/LingotekApi.php
Add a document to the Lingotek platform.

File

lib/Drupal/lingotek/Lingotek.php, line 391
Defines Lingotek.

Class

Lingotek
A utility class for Lingotek translation.

Code

public static function getLanguagesWithoutSourceAsJSON($source_lingotek_locale) {
  return drupal_json_encode(array_values(self::getLanguages('lingotek_locale', FALSE, $source_lingotek_locale)));
}