function ContentLanguageSettingsInterface::setTargetBundle
Same name in other branches
- 9 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
- 8.9.x core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
- 10 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
Sets the bundle this config applies to.
Parameters
string $target_bundle: The bundle.
Return value
$this
1 method overrides ContentLanguageSettingsInterface::setTargetBundle()
- ContentLanguageSettings::setTargetBundle in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Sets the bundle this config applies to.
File
-
core/
modules/ language/ src/ ContentLanguageSettingsInterface.php, line 34
Class
- ContentLanguageSettingsInterface
- Provides an interface defining language settings for content entities.
Namespace
Drupal\languageCode
public function setTargetBundle($target_bundle);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.