public function ContentLanguageSettings::setTargetBundle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::setTargetBundle()
Sets the bundle this config applies to.
Parameters
string $target_bundle: The bundle.
Return value
$this
Overrides ContentLanguageSettingsInterface::setTargetBundle
File
- core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php, line 124
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\EntityCode
public function setTargetBundle($target_bundle) {
$this->target_bundle = $target_bundle;
return $this;
}