Problem/Motivation

As requested in comment: https://www.drupal.org/project/custom_field/issues/3496708#comment-15930477, there is not currently a way to output the actual field label in the custom template. There is no token available to select. We can add this option.

Proposed resolution

A new token property ':field_label' will be present in the token browser.

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

apmsooner created an issue. See original summary.

apmsooner’s picture

Status: Active » Needs review

Patch ready to be tested. Just set status to RTBC if its good.

giuse69’s picture

works! thanks

  • apmsooner committed e39692b5 on 3.0.x
    Issue #3498012 by apmsooner, giuse69: Add field label token for custom...
apmsooner’s picture

Status: Needs review » Fixed
apmsooner’s picture

Version: 3.0.x-dev » 3.1.x-dev
Status: Fixed » Closed (fixed)