function ContentLanguageSettingsInterface::setTargetBundle

Same name in other branches
  1. 9 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
  2. 10 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setTargetBundle()
  3. 11.x 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\language

Code

public function setTargetBundle($target_bundle);

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