You are here

public function ContentLanguageSettings::getTargetBundle in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getTargetBundle()
  2. 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getTargetBundle()

Gets the bundle this config applies to.

Return value

string

Overrides ContentLanguageSettingsInterface::getTargetBundle

File

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

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function getTargetBundle() {
  return $this->target_bundle;
}