imho i think it's helpful to have access for replacement form element inherited from the legagy field.
With this, other modules could integrate much easier with Title.

issues related:
#1741238: Inline Entity Form shows title field despite title generation being enabled
#1747900: Replacement title field added by Title module is not hidden when title generation is enabled.

Comments

vasike’s picture

StatusFileSize
new841 bytes

and here is a patch for this.
it worked for Inline entity form issues, previous specified.

vasike’s picture

Status: Active » Needs review
bojanz’s picture

Wouldn't #required need to be reset as well?

Committed the IEF fix in the meantime.

vasike’s picture

@bojanz: as i remember this issue is strictly related with '#access' = FALSE; - hiding the title.
The Title module set required all "titles" fields, except the Taxonomy Description field.

plach’s picture

Status: Needs review » Reviewed & tested by the community

There are some coding style issues, but the patch looks sensible to me. Will fix it on commit.

plach’s picture

Title: Title replacement field inherits the legagy field access » Replaced fields should inherit the legacy field access
plach’s picture

Status: Reviewed & tested by the community » Fixed
StatusFileSize
new1.32 KB

Committed and pushed the attached patch, thanks.

Status: Fixed » Closed (fixed)

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

  • Commit 9c8660b on 7.x-1.x, workbench authored by vasike, committed by plach:
    Issue #1748008 by vasike: Replaced fields should inherit the legacy...