You are here

public function LingotekProfile::getTargetLocaleOverrides in Lingotek Translation 7.7

3 calls to LingotekProfile::getTargetLocaleOverrides()
LingotekProfile::filterTargetLocales in lib/Drupal/lingotek/LingotekProfile.php
LingotekProfile::getAttributes in lib/Drupal/lingotek/LingotekProfile.php
LingotekProfile::isTargetLocaleCustom in lib/Drupal/lingotek/LingotekProfile.php

File

lib/Drupal/lingotek/LingotekProfile.php, line 529
Defines LingotekProfile

Class

LingotekProfile
A class wrapper for Lingotek Profiles

Code

public function getTargetLocaleOverrides($target_locale) {
  if (!empty($this->profile['target_language_overrides'][$target_locale])) {
    return $this->profile['target_language_overrides'][$target_locale];
  }
  return array();
}