public function ContentLanguageSettings::id in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::id()
- 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
1 call to ContentLanguageSettings::id()
- ContentLanguageSettings::preSave in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Acts on an entity before the presave hook is invoked.
File
- core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php, line 106
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\EntityCode
public function id() {
return $this->target_entity_type_id . '.' . $this->target_bundle;
}