/**
* Determines whether a route is the "Latest version" tab of a node.
+ *
+ * @internal
*/
class ContentPreprocess implements ContainerInjectionInterface {
/**
* The route match service.
*
- * @var \Drupal\Core\Routing\RouteMatchInterface $routeMatch
+ * @var \Drupal\Core\Routing\RouteMatchInterface
*/
protected $routeMatch;
}
/**
- * Wrapper for hook_preprocess_HOOK().
- *
* @param array $variables
* Theme variables to preprocess.
+ *
+ * @see hook_preprocess_HOOK()
*/
public function preprocessNode(array &$variables) {
// Set the 'page' template variable when the node is being displayed on the