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.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

Darren Shelley’s picture

Status: Active » Needs review
FileSize
3.26 KB

Patch attached.