You are here

protected function PaymentStatus::entityTypeManager in Payment 8.2

Gets the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface

Overrides EntityBase::entityTypeManager

File

src/Entity/PaymentStatus.php, line 163

Class

PaymentStatus
Defines a payment status entity.

Namespace

Drupal\payment\Entity

Code

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