public function EntityBase::getEntityType in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityType()
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getEntityType()
15 calls to EntityBase::getEntityType()
- ConfigEntityBase::addDependency in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Overrides \Drupal\Core\Entity\DependencyTrait:addDependency().
- ConfigEntityBase::getConfigDependencyName in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Gets the configuration dependency name.
- ConfigEntityBase::toArray in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Gets an array of all property values.
- ConfigEntityBundleBase::loadDisplays in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBundleBase.php - Returns view or form displays for this bundle.
- ConfigEntityBundleBase::postSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBundleBase.php - Acts on a saved entity before the insert or update hook is invoked.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 371
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function getEntityType() {
return $this
->entityTypeManager()
->getDefinition($this
->getEntityTypeId());
}