Quantcast
Viewing all articles
Browse latest Browse all 292240

Modules cannot reliably enhance or alter the node form anymore

Follow-up to: #1751606: Move published status checkbox next to "Save"

Problem

  • Modules that are adding or altering form validation or submit handlers to the node form are no longer able to add to the 'submit' button, since NodeFormController conditionally replaces that with two separate 'publish' and 'unpublish' buttons.
  • Modules and themes that want to adjust the form buttons on the node form require complex code to figure out which buttons exist, which are accessible, and what their purpose is, since the single 'submit' (Save) button no longer exists.

Goal

  • Restore sanity for contributed and custom modules and themes.

Viewing all articles
Browse latest Browse all 292240

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>