EntityModerationRouteProvider

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

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.
doc_Drupal
2016-10-29 09:07:14
Comments
Leave a Comment

Please login to continue.