You are here

protected function Currency::entityTypeManager in Currency 8.3

Gets the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface

Overrides EntityBase::entityTypeManager

File

src/Entity/Currency.php, line 355

Class

Currency
Defines a currency entity class.

Namespace

Drupal\currency\Entity

Code

protected function entityTypeManager() {
  if (!$this->entityTypeManager) {
    $this->entityTypeManager = parent::entityTypeManager();
  }
  return $this->entityTypeManager;
}