function EntityBase::entityTypeManager
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::entityTypeManager()
- 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::entityTypeManager()
- 11.x 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.