Defines a class for making sure the edit-route loads the current draft.
Hierarchy
- class \Drupal\Core\ParamConverter\EntityConverter implements ParamConverterInterface
- class \Drupal\content_moderation\ParamConverter\EntityRevisionConverter
File
- core/modules/content_moderation/src/ParamConverter/EntityRevisionConverter.php, line 15
Namespace
Drupal\content_moderation\ParamConverter
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityConverter::$entityManager | protected | property | Entity manager which performs the upcasting in the end. |
EntityConverter::getEntityTypeFromDefaults | protected | function | Determines the entity type ID given a route definition and route defaults. |
EntityRevisionConverter::$moderationInformation | protected | property | Moderation information service. |
EntityRevisionConverter::applies | public | function | Determines if the converter applies to a specific route and variable. Overrides EntityConverter::applies |
EntityRevisionConverter::convert | public | function | Converts path variables to their corresponding objects. Overrides EntityConverter::convert |
EntityRevisionConverter::hasForwardRevisionFlag | protected | function | Determines if the route definition includes a forward-revision flag. |
EntityRevisionConverter::isEditFormPage | protected | function | Determines if a given route is the edit-form for an entity. |
EntityRevisionConverter::__construct | public | function | EntityRevisionConverter constructor. Overrides EntityConverter::__construct |
Please login to continue.