function ContentLanguageSettings::setTargetBundle

Same name in other branches
  1. 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::setTargetBundle()
  2. 8.9.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::setTargetBundle()
  3. 11.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::setTargetBundle()

Overrides ContentLanguageSettingsInterface::setTargetBundle

File

core/modules/language/src/Entity/ContentLanguageSettings.php, line 130

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function setTargetBundle($target_bundle) {
    $this->target_bundle = $target_bundle;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.