Determines whether a route is the "Latest version" tab of a node.
Hierarchy
- class \Drupal\content_moderation\ContentPreprocess implements ContainerInjectionInterface
File
- core/modules/content_moderation/src/ContentPreprocess.php, line 13
Namespace
Drupal\content_moderation
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContentPreprocess::$routeMatch | protected | property | The route match service. |
ContentPreprocess::create | public static | function | Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create |
ContentPreprocess::isLatestVersionPage | public | function | Checks whether a route is the "Latest version" tab of a node. |
ContentPreprocess::preprocessNode | public | function | Wrapper for hook_preprocess_HOOK(). |
ContentPreprocess::__construct | public | function | Constructor. |
Please login to continue.