You are here

public function LingotekProfile::setContactEmail in Lingotek Translation 3.1.x

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

Sets the Contact Email for the Contact Person responsible for this content.

Parameters

string $contact_email: The Contact Email.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setContactEmail

File

src/Entity/LingotekProfile.php, line 309

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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