public function ContentLanguageSettingsInterface::setTargetBundle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
- 9 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);