ContentLanguageSettings::setTargetBundle

public ContentLanguageSettings::setTargetBundle($target_bundle)

Sets the bundle this config applies to.

Parameters

string $target_bundle: The bundle.

Return value

$this

Overrides ContentLanguageSettingsInterface::setTargetBundle

File

core/modules/language/src/Entity/ContentLanguageSettings.php, line 112

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function setTargetBundle($target_bundle) {
  $this->target_bundle = $target_bundle;

  return $this;
}
doc_Drupal
2016-10-29 08:57:51
Comments
Leave a Comment

Please login to continue.