You are here

public function LingotekIntelligenceService::setReferenceUrlPermission in Lingotek Translation 8.2

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

Sets the Permission setting for whether or not the Reference URL for this content should be included in the metadata.

Parameters

bool $use_reference_url: Flag indicating if we want to indicate the Reference URL.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setReferenceUrlPermission

File

src/LingotekIntelligenceService.php, line 459

Class

LingotekIntelligenceService
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setReferenceUrlPermission($use_reference_url) {
  return $this
    ->setValue('use_reference_url', $use_reference_url);
}