You are here

public function LingotekProfile::setAuthorEmailPermission in Lingotek Translation 8.2

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

Sets the Permission setting for whether or not an Author Email should be used in the Intelligence Metadata.

Parameters

bool $use_author_email: Flag indicating if the author email should be used.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setAuthorEmailPermission

File

src/Entity/LingotekProfile.php, line 415

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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