Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2009 at 14:19 UTC
Updated:
29 Jul 2014 at 18:27 UTC
The $heading param of theme_links only allows passing in of a class and not any other attribute. This simply alters the theming to accept more than a class and changes the few calls of theme_links which pass $header to pass attributes = array('class' => array()) instead of class = array().
| Comment | File | Size | Author |
|---|---|---|---|
| theme_links_heading_attributes_0.patch | 1.66 KB | ultimateboy |
Comments
Comment #1
Zarabadoo commentedI applied this and all looks to be functioning properly and without issue.
Comment #2
bowersox commentedsub
Comment #4
bowersox commentedI think this is a good API improvement. At this point we'll need to work on it for Drupal 8.
Comment #5
sunI've incorporated a backwards compatible fix for this issue into #98696: Various bugs in theme_links()
Comment #6
sun