protected EntityResolverManager::getEntityTypes()
Gets the list of all entity types.
Return value
\Drupal\Core\Entity\EntityTypeInterface[]
File
- core/lib/Drupal/Core/Entity/EntityResolverManager.php, line 222
Class
- EntityResolverManager
- Sets the entity route parameter converter options automatically.
Namespace
Drupal\Core\Entity
Code
protected function getEntityTypes() { if (!isset($this->entityTypes)) { $this->entityTypes = $this->entityManager->getDefinitions(); } return $this->entityTypes; }
Please login to continue.