You are here

public function LingotekProfile::setContentDescriptionPermission in Lingotek Translation 3.4.x

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

Sets the Permission setting for whether or not to include the Content Description.

Parameters

bool $use_content_description: Flag indicating if we want to indicate the Content Description.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setContentDescriptionPermission

File

src/Entity/LingotekProfile.php, line 567

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setContentDescriptionPermission($use_content_description) {
  $this->intelligence_metadata['use_content_description'] = $use_content_description;
  return $this;
}