Problem/Motivation

In some template files, the first lines are similar to the following ones.

{% extends "@block/block.html.twig" %}
{#
/**
 * @file
 * Theme override for local actions (primary admin actions).
 */
#}

The short description for the file should be the first part of the file.

Proposed resolution

Change those files to make the documentation comment the first part of the file.

Issue fork seven-3577883

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

avpaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 1f48154d on 2.0.x
    Issue #3577883: Make sure the documentation comment for template files...

  • avpaderno committed 5cf1f58a on main
    Issue #3577883: Make sure the documentation comment for template files...
avpaderno’s picture

Version: 2.0.x-dev » 1.1.x-dev
Status: Needs review » Active

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 8c1139fe on 1.1.x
    Issue #3577883: Make sure the documentation comment for template files...
avpaderno’s picture

Assigned: avpaderno » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.