From aea158c230f512063e786f188de6acdc26c9b830 Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Fri, 2 Feb 2024 07:45:34 +1000 Subject: [PATCH] Issue #3413914 by shalini_jha, quietone, smustgrave: Remove 'pattern' description from hook_theme --- core/lib/Drupal/Core/Render/theme.api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php index 9548df27a7f5..e0706ab6d7d4 100644 --- a/core/lib/Drupal/Core/Render/theme.api.php +++ b/core/lib/Drupal/Core/Render/theme.api.php @@ -1221,8 +1221,9 @@ function hook_page_bottom(array &$page_bottom) { * suggestion, then this suggestion's template will be used to generate the * rendered output. * - pattern: A regular expression pattern to be used to allow this theme - * implementation to have a dynamic name. The convention is to use __ to - * differentiate the dynamic portion of the theme. + * implementation to have a dynamic name. The default is to use __ to + * differentiate the dynamic portion of the theme. Implementations + * can specify a different pattern if required. * - preprocess functions: A list of functions used to preprocess this data. * Ordinarily this won't be used; it's automatically filled in. By default, * for a module this will be filled in as template_preprocess_HOOK. For -- GitLab