rename comment_preprocess_field() to template_preprocess_field__comment()

Created on 31 October 2016, over 7 years ago
Updated 11 January 2024, 5 months ago

Problem/Motivation

Since #939462: Specific preprocess functions for theme hook suggestions are not invoked → is fixed, we can rename the following function in comment.module.

Currently there's a TODO comment in comment.module (line 735):

 * @todo Rename to template_preprocess_field__comment() once
 *   https://www.drupal.org/node/939462 is resolved.
 */
function comment_preprocess_field(&$variables) {

Proposed resolution

Rename the function to template_preprocess_field__comment() as intended.

Remaining tasks

Write a patch. DONE.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Comment  →

Last updated 2 days ago

Created by

🇬🇧United Kingdom andrewmacpherson

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024