By using hook_form_BASE_FORM_ID_alter() instead of hook_form_alter() we can prevent an unnecessary check against the $form['#node_edit_form'] element.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Darren Shelley’s picture

Status: Active » Needs review
FileSize
3.26 KB

Patch attached.