Need doxygen standards for overriding a theme hook/template

Created on 26 April 2010, almost 15 years ago
Updated 19 March 2025, 22 days ago

We don't currently have a section in http://drupal.org/node/1354 (doxygen standards) for how to document a function in a theme that overrides a theme hook or a theme template.

I would like to propose:

- Theme hook override function:

/**
 * Overrides theme_foo().
 *
 * Optional description of specifics, if necessary.
 */
function mytheme_foo() {
  // function body here
}

- Template override file:

// $Id$

/**
 * @file
 * Overrides modules/block/block.tpl.php.
 *
 * If there are any additional variables defined beyond the standards, list here.
 */
πŸ“Œ Task
Status

Closed: duplicate

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jhodgdon Spokane, WA, USA

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

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.71.5 2024