Entity::getEntityTypeId

public Entity::getEntityTypeId()

Gets the ID of the type of the entity.

Return value

string The entity type ID.

Overrides EntityInterface::getEntityTypeId

File

core/lib/Drupal/Core/Entity/Entity.php, line 141

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

1
2
3
public function getEntityTypeId() {
  return $this->entityTypeId;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.