protected function PaymentMethodConfiguration::entityTypeManager in Payment 8.2
Gets the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface
Overrides EntityBase::entityTypeManager
File
- src/
Entity/ PaymentMethodConfiguration.php, line 234
Class
- PaymentMethodConfiguration
- Defines a payment method configuration entity.
Namespace
Drupal\payment\EntityCode
protected function entityTypeManager() {
if (!$this->entityTypeManager) {
$this->entityTypeManager = \Drupal::entityTypeManager();
}
return $this->entityTypeManager;
}