protected function MollieProfile::entityManager in Mollie Payment 8.2
Gets the entity manager.
Return value
\Drupal\Core\Entity\EntityManagerInterface
Overrides EntityBase::entityManager
Deprecated
in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal::entityTypeManager() instead in most cases. If the needed method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the deprecated \Drupal\Core\Entity\EntityManager to find the correct interface or service.
File
- src/
Entity/ MollieProfile.php, line 145
Class
- MollieProfile
- Defines a Mollie profile entity.
Namespace
Drupal\mollie_payment\EntityCode
protected function entityManager() {
if (!$this->entityManager) {
$this->entityManager = parent::entityManager();
}
return $this->entityManager;
}