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.
Instead of changing the node type confirm form, you can more easily implement the hook_node_type()
. This also has the benifit that when one changes the type name or delete it programmatically, the settings are saved.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
ctm.hook_node_type.patch | 1.42 KB | Robrecht Jacques |
Comments
Comment #1
NikLP CreditAttribution: NikLP commentedSeconded.
Comment #2
chellman CreditAttribution: chellman commentedWorks great here.
Comment #3
vasike