function ContentLanguageSettings::id

Same name in other branches
  1. 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::id()
  2. 8.9.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::id()
  3. 11.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::id()

Overrides EntityBase::id

1 call to ContentLanguageSettings::id()
ContentLanguageSettings::preSave in core/modules/language/src/Entity/ContentLanguageSettings.php

File

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

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function id() {
    return $this->target_entity_type_id . '.' . $this->target_bundle;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.