You are here

public function LingotekIntelligenceServiceConfig::setReferenceUrlPermission in Lingotek Translation 8.2

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

Class

LingotekIntelligenceServiceConfig
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);
}