You are here

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

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

Sets the value of append content type to title option.

Parameters

string $append_type_to_title: Values can be 'global_setting', 'yes', or 'no'

Return value

$this

Overrides LingotekProfileInterface::setAppendContentTypeToTitle

File

src/Entity/LingotekProfile.php, line 647

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setAppendContentTypeToTitle($append_type_to_title = 'global_setting') {
  $this->append_type_to_title = $append_type_to_title;
  return $this;
}