You are here

public function EntityStorageBase::getEntityType in Drupal 9

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

Gets the entity type definition.

Return value

\Drupal\Core\Entity\EntityTypeInterface Entity type definition.

Overrides EntityStorageInterface::getEntityType

2 calls to EntityStorageBase::getEntityType()
ConfigEntityStorage::updateFromStorageRecord in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Updates a configuration entity from storage values.
ContentEntityStorageBase::getRevisionTranslationMergeSkippedFieldNames in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Returns an array of field names to skip when merging revision translations.

File

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

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

public function getEntityType() {
  return $this->entityType;
}