function EntityStorageBase::getEntityTypeId

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

Overrides EntityStorageInterface::getEntityTypeId

1 call to EntityStorageBase::getEntityTypeId()
ContentEntityStorageBase::getEntityClass in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Retrieves the class name used to create the entity.

File

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

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.