X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_moderation%2Fsrc%2FContentPreprocess.php;fp=web%2Fcore%2Fmodules%2Fcontent_moderation%2Fsrc%2FContentPreprocess.php;h=853a787ed836415a172639c79d25ff271e653211;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=77fcd786101af8491958c4c59e7a8bc22ecf8c18;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/content_moderation/src/ContentPreprocess.php b/web/core/modules/content_moderation/src/ContentPreprocess.php index 77fcd7861..853a787ed 100644 --- a/web/core/modules/content_moderation/src/ContentPreprocess.php +++ b/web/core/modules/content_moderation/src/ContentPreprocess.php @@ -9,13 +9,15 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** * 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; @@ -39,10 +41,10 @@ class ContentPreprocess implements ContainerInjectionInterface { } /** - * 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