Dynamic route provider for the Content moderation module.
Provides the following routes:
- The latest version tab, showing the latest revision of an entity, not the default one.
Hierarchy
- class \Drupal\content_moderation\Routing\EntityModerationRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterface
File
- core/modules/content_moderation/src/Routing/EntityModerationRouteProvider.php, line 21
Namespace
Drupal\content_moderation\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityModerationRouteProvider::$entityFieldManager | protected | property | The entity manager. |
EntityModerationRouteProvider::createInstance | public static | function | Instantiates a new instance of this entity handler. Overrides EntityHandlerInterface::createInstance |
EntityModerationRouteProvider::getEntityTypeIdKeyType | protected | function | Gets the type of the ID key for a given entity type. |
EntityModerationRouteProvider::getLatestVersionRoute | protected | function | Gets the moderation-form route. |
EntityModerationRouteProvider::getRoutes | public | function | Provides routes for entities. Overrides EntityRouteProviderInterface::getRoutes |
EntityModerationRouteProvider::__construct | public | function | Constructs a new DefaultHtmlRouteProvider. |
Please login to continue.