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'm attempting to add some Twitter Bootstrap classes to the Button Field in the "Additional Classes" field but nothing is saving.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2244937-button_field-Additional_Classes_dont_save_in_Button_Field-2.patch | 3.04 KB | Lord Pachelbel |
Comments
Comment #1
clemens.tolboomI guess this is due to typo: $classes should be $class
Comment #2
Lord Pachelbel CreditAttribution: Lord Pachelbel commentedHere's a patch to fix the additional classes being missing and the "Hide on edit form" checkbox that was broken in the same manner. It also contains the one-line change from https://www.drupal.org/node/1989578 because I had fixed that issue on my own before seeing there already was an issue for it.