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.

Comments

Status:Active» Needs review
StatusFileSize
new3.26 KB

Patch attached.