In D7 we can use hook_form_BASE_FORM_ID_alter to target the node form, rather than usual a general hook_form_alter.

This should be done since it's a little more performant.

CommentFileSizeAuthor
#1 1713480-1.patch1.18 KBpwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.18 KB
pwolanin’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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

  • Commit a491efb on 7.x-1.x, 8.x-1.x by pwolanin:
    Issue #1713480 by pwolanin: switch from hook_form_alter to...