Provides HTML routes for entities.
This class provides the following routes for entities, with title and access callbacks:
- canonical
- add-page
- add-form
- edit-form
- delete-form
- collection
@internal
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
See also
\Drupal\Core\Entity\Routing\AdminHtmlRouteProvider.
File
- core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 32
Namespace
Drupal\Core\Entity\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DefaultHtmlRouteProvider::$entityFieldManager | protected | property | The entity field manager. |
DefaultHtmlRouteProvider::$entityTypeManager | protected | property | The entity type manager. |
DefaultHtmlRouteProvider::createInstance | public static | function | Instantiates a new instance of this entity handler. Overrides EntityHandlerInterface::createInstance |
DefaultHtmlRouteProvider::getAddFormRoute | protected | function | Gets the add-form route. |
DefaultHtmlRouteProvider::getAddPageRoute | protected | function | Gets the add page route. |
DefaultHtmlRouteProvider::getCanonicalRoute | protected | function | Gets the canonical route. |
DefaultHtmlRouteProvider::getCollectionRoute | protected | function | Gets the collection route. |
DefaultHtmlRouteProvider::getDeleteFormRoute | protected | function | Gets the delete-form route. |
DefaultHtmlRouteProvider::getEditFormRoute | protected | function | Gets the edit-form route. |
DefaultHtmlRouteProvider::getEntityTypeIdKeyType | protected | function | Gets the type of the ID key for a given entity type. |
DefaultHtmlRouteProvider::getRoutes | public | function | Provides routes for entities. Overrides EntityRouteProviderInterface::getRoutes |
DefaultHtmlRouteProvider::__construct | public | function | Constructs a new DefaultHtmlRouteProvider. |
Please login to continue.