protected function EntityBase::entityTypeManager in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::entityTypeManager()
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::entityTypeManager()
Gets the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface
18 calls to EntityBase::entityTypeManager()
- ConfigEntityBundleBase::deleteDisplays in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBundleBase.php - Deletes display if a bundle is deleted.
- 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.
- ContentEntityBase::access in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks data value access.
- ContentEntityBase::addTranslation in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Adds a new translation to the translatable object.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 72
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
protected function entityTypeManager() {
return \Drupal::entityTypeManager();
}