You are here

public function ContentLanguageSettingsInterface::setTargetBundle in Drupal 8

Same name and namespace 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()

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);