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.
I've added hook_field_extra_fields() to branch "field-extra-fields".
It's the first step in making aegir a bit more themable.
Comments
Comment #2
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedhttp://cgit.drupalcode.org/hosting/commit/?h=field-extra-fields&id=60885...
Comment #3
ergonlogicNifty! I hadn't been aware of that hook. +1
Comment #5
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedThanks, works.
Comment #6
Jon PughAh, I apologize for forgetting to mention the branch or attach a patch :)
Comment #7
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedOH MY GOSH YES!!!
Is it also worth adding the 'form' elements to the return value of the hooks so that the fields on the form are re-orderable/themable too? (new issue?)
Comment #8
Jon PughHaha, glad you like.
It's absolutely worth it! I don't think a new issue is needed, we can just update the title and body to accomodate more theme level improvements.
Comment #9
Jon PughIf you like that, you'll love this, Steven!
https://www.drupal.org/node/2714539