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

File

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

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function id() {
  return $this->target_entity_type_id . '.' . $this->target_bundle;
}
doc_Drupal
2016-10-29 08:57:50
Comments
Leave a Comment

Please login to continue.