Provides HTML routes for entities.
This class provides the following routes for entities, with title and access callbacks:
@internal
\Drupal\Core\Entity\Routing\AdminHtmlRouteProvider.
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::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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Routing!DefaultHtmlRouteProvider.php/class/DefaultHtmlRouteProvider/8.1.x