You are here

public function LingotekProfile::disableTargetLocale in Lingotek Translation 7.7

File

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

Class

LingotekProfile
A class wrapper for Lingotek Profiles

Code

public function disableTargetLocale($target_locale) {
  $this
    ->deleteTargetLocaleOverrides($target_locale);
  $this
    ->setAttribute('disabled', TRUE, $target_locale);
}