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.
As content-type plug-ins could be used multiple times, the id attribute should not be used. Patch adds the ability to set id and class attributes. For backward compatibility id=logo will be used if config['id'] is not set.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2493819-3.patch | 2.11 KB | shubham.prakash |
Comments
Comment #1
osopolarWorkaround: Clone the content type plug-in in a custom module.
Comment #2
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 4 year old patch to page_logo.inc does not apply to the latest ctools 7.x-1.x-dev and if still applicable needs a re-roll.
Comment #3
shubham.prakash CreditAttribution: shubham.prakash at OpenSense Labs commentedRerolled #1
Comment #4
joelpittetI like what this is trying to achieve, not really a bug but kind of a task so moving it to that.
This should probably go in the defaults as with the defaults it would be empty.
This needs to be an array or it throw an error in the l() function when it's used as one.