Remove 'pattern' description from hook_theme

Created on 11 January 2024, almost 2 years ago

Problem/Motivation

The doc block for hook_theme includes 'pattern' which doesn't seem to be used anymore. Therefore, it can be removed.

 *   - 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.

Discovered this in consultation with larowlan while working on 📌 Remove usage of forum module from comments and strings Fixed , which used 'forum' as an example for the pattern.

Steps to reproduce

Proposed resolution

Remove the description for 'pattern'

Remaining tasks

Confirm it is not used
Create an MR

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Theme 

Last updated about 2 months ago

Created by

🇳🇿New Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024