Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentLanguageSettings.php

function ContentLanguageSettings::setTargetBundle

Overrides ContentLanguageSettingsInterface::setTargetBundle

File

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

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function setTargetBundle($target_bundle) {
    $this->target_bundle = $target_bundle;
    return $this;
}
RSS feed
Powered by Drupal