public function ContentLanguageSettings::id in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 Entity::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 95 - Contains \Drupal\language\Entity\ContentLanguageSettings.
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\EntityCode
public function id() {
return $this->target_entity_type_id . '.' . $this->target_bundle;
}