Problem/Motivation

When using Inline Entity Form, the fields inside of the embedded form do not display the Label Help text.

Proposed resolution

The provided patch addresses the display of Label Help on fields that are in an embedded form when using Inline Entity Form.

Comments

paulmartin84’s picture

Patch Attached

paulmartin84’s picture

Status: Needs work » Needs review
paulmartin84’s picture

StatusFileSize
new607 bytes
paulmartin84’s picture

Assigned: paulmartin84 » Unassigned
jason.bell’s picture

This patch applies fine to 7.x-1.x-dev but has no corresponding changes in the UI. The Label help does not appear. Note that fieldsets in general are not working with Label Help, and the default field help text will appear in the appropriate location. Still working on this since it is awkard to rely on Label Help for most fields and have just a few that use the default #description.

paulmartin84’s picture

@jason.bell The issue here was that fields with a label help description were not showing when that field was displayed through an inline entity form. This patch is working for me. Can you test this by adding a field with label help description to a content type. You should see the label help text on the node edit page, If you then create another content type that references the first using an inline entity form, The label help description doesn't display on the node edit form unless this patch is applied.

jason.bell’s picture

Issue summary: View changes

@paulmartin84, that sounds a little different than what I was looking for. I came across this because my entity reference field that employs Inline Entity Form was not displaying the label help.

Looking back at my forms now I see what you are describing—that fields inside of an inline entity form do not display label help. This patch address that issue. I’m updating the issue title and summary to reflect the specific nature. I will add a new issue to track the situation I’m running into and note it as related.

This patch works well and could probably just stand for some comments noting the situation that it fixes.

jason.bell’s picture

Title: Support for Inline Entity Form » Support Label Help on fields in embedded Inline Entity Form
jwilson3’s picture

Title: Support Label Help on fields in embedded Inline Entity Form » Add Label Help support for fields in embedded Inline Entity Form

Standardizing issue naming.