protected function EntityBase::entityTypeManager in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::entityTypeManager()
Gets the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface
1 call to EntityBase::entityTypeManager()
- 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 72
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
protected function entityTypeManager() {
return \Drupal::entityTypeManager();
}