You are here

public function LingotekProfile::setReferenceUrlPermission in Lingotek Translation 3.3.x

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

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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