You are here

public function EntityStorageBase::getEntityTypeId in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::getEntityTypeId()
  2. 10 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::getEntityTypeId()

Gets the entity type ID.

Return value

string The entity type ID.

Overrides EntityStorageInterface::getEntityTypeId

File

core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 105

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

public function getEntityTypeId() {
  return $this->entityTypeId;
}