Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In some of the modules, we set default values in hook_node_prepare(), for some, in hook_form().
It would be cleaner to do it all in one place, and the form seems the most developer friendly place to do so.
Comment | File | Size | Author |
---|---|---|---|
#2 | pm-node-prepare.patch | 11.11 KB | juliangb |
Comments
Comment #1
juliangb CreditAttribution: juliangb commentedComment #2
juliangb CreditAttribution: juliangb commentedA really minor task, but got it done at last.
Expected result testing this is that all functions remain the same, it is just a small simplification in the code.
Comment #3
juliangb CreditAttribution: juliangb commentedCommitted and pushed to drupal.org.