You are here

public function LingotekIntelligenceService::setContentDescriptionPermission in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  2. 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  3. 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  4. 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  5. 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  6. 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  7. 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  8. 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  9. 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContentDescriptionPermission()
  10. 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::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/LingotekIntelligenceService.php, line 389

Class

LingotekIntelligenceService
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setContentDescriptionPermission($use_content_description) {
  return $this
    ->setValue('use_content_description', $use_content_description);
}