You are here

public function LingotekProfileInterface::hasDisabledTarget in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 4.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::hasDisabledTarget()
  2. 3.5.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::hasDisabledTarget()
  3. 3.7.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::hasDisabledTarget()
  4. 3.8.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::hasDisabledTarget()

Checks if the profile has disabled the given target language.

Parameters

string $langcode: The language code.

Return value

bool TRUE if it is disabled, FALSE if not.

1 method overrides LingotekProfileInterface::hasDisabledTarget()
LingotekProfile::hasDisabledTarget in src/Entity/LingotekProfile.php
Checks if the profile has disabled the given target language.

File

src/LingotekProfileInterface.php, line 305

Class

LingotekProfileInterface
Provides an interface defining a Lingotek profile entity.

Namespace

Drupal\lingotek

Code

public function hasDisabledTarget($langcode);