You are here

public function ContentLanguageSettingsInterface::setTargetBundle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 39
Contains \Drupal\language\ContentLanguageSettingsInterface.

Class

ContentLanguageSettingsInterface
Provides an interface defining language settings for content entities.

Namespace

Drupal\language

Code

public function setTargetBundle($target_bundle);