diff --git a/core/modules/overlay/overlay.module b/core/modules/overlay/overlay.module index 01c8d78..7c8689e 100644 --- a/core/modules/overlay/overlay.module +++ b/core/modules/overlay/overlay.module @@ -511,9 +511,11 @@ function template_preprocess_overlay(&$variables) { } /** - * Preprocess variables for the message about how to disable the overlay. + * Prepares variables for overlay disable message templates. * - * @param $variables + * Default template: overlay-disable-message.html.twig. + * + * @param array $variables * An associative array with an 'element' element, which itself is an * associative array containing: * - profile_link: The link to this user's account. @@ -535,7 +537,6 @@ function template_preprocess_overlay_disable_message(&$variables) { } } - // Render the links. $variables['profile_link'] = $element['profile_link']; $variables['dismiss_link'] = $element['dismiss_message_link']; } diff --git a/core/modules/overlay/templates/overlay-disable-message.html.twig b/core/modules/overlay/templates/overlay-disable-message.html.twig index 4b9c38a..4c03062 100644 --- a/core/modules/overlay/templates/overlay-disable-message.html.twig +++ b/core/modules/overlay/templates/overlay-disable-message.html.twig @@ -1,10 +1,9 @@ {# /** * @file - * Default theme implementation for the message about how to disable the overlay. + * Default theme implementation for the message about disabling the overlay. * * Available variables: - * - attributes: An array of element attributes. * - profile_link: Rendered link. * - dismiss_link: Rendered link to disable the message. * diff --git a/core/modules/overlay/templates/overlay.html.twig b/core/modules/overlay/templates/overlay.html.twig index e86ecd6..08aa740 100644 --- a/core/modules/overlay/templates/overlay.html.twig +++ b/core/modules/overlay/templates/overlay.html.twig @@ -7,7 +7,7 @@ * - title: the (sanitized) title of the page. * - page: The rendered page content. * - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view - * and edit tabs when displaying a node). + * and edit tabs when displaying a node). * * @see template_preprocess() * @see template_preprocess_overlay()