You are here

public static function LingotekLocale::getLanguagesWithoutSourceAsJSON in Lingotek Translation 3.4.x

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

File

src/LingotekLocale.php, line 382

Class

LingotekLocale
A utility class for Lingotek translation.

Namespace

Drupal\lingotek

Code

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