Add option to format list of styles in select dropdown

Created on 23 December 2015, over 8 years ago
Updated 7 November 2023, 8 months ago

I currently work on a site that requires a high number of different accessibility options. For aesthetic reasons, the list of links wasn't a great option for me, so I built an option to let administrators choose to display the list as a dropdown menu instead.

There is probably a better way to do the bit where I formed the select element for the block in the styleswitcher_block_view() function, but I'm pretty unfamiliar with Drupal's array rendering capabilities and just wanted to get it to work for now.

As far as I can tell, the dropdown and the list both work without any issues in my patched version.

✨ Feature request
Status

Needs work

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States zinaschroeder

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024