I just figured out that theme_pager_previous() and theme_pager_next() do not forward the attributes parameter. Hence, custom modules calling theme('pager_previous') or theme('pager_next') cannot add custom classes to prev and next buttons. Is there a reason for this omission? Or was it missed out of an error?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jigarius created an issue. See original summary.

jigarius’s picture

Status: Needs review » Needs work

The last submitted patch, 2: 2872509-support-for-pager-attributes.patch, failed testing.

jigarius’s picture

jigarius’s picture

Status: Needs work » Needs review
FileSize
5.77 KB