You are here

public function LingotekProfile::hasIntelligenceMetadataOverrides in Lingotek Translation 3.7.x

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

Checks if the profile overrides settings for Intelligence metadata.

Return value

bool TRUE if there are Lingotek Intelligence customizations, FALSE if not.

Overrides LingotekProfileInterface::hasIntelligenceMetadataOverrides

File

src/Entity/LingotekProfile.php, line 902

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function hasIntelligenceMetadataOverrides() {
  return isset($this->intelligence_metadata['override']) && $this->intelligence_metadata['override'] === TRUE;
}