function 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

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 72

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected function entityTypeManager() {
  return \Drupal::entityTypeManager();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.