public EntityType::getRouteProviderClasses()
Gets all the route provide handlers.
Much like forms you can define multiple route provider handlers.
Return value
string[]
Overrides EntityTypeInterface::getRouteProviderClasses
File
- core/lib/Drupal/Core/Entity/EntityType.php, line 574
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\Entity
Code
public function getRouteProviderClasses() { return !empty($this->handlers['route_provider']) ? $this->handlers['route_provider'] : []; }
Please login to continue.