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.
When saving the form I get an undefined index btn_size.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#2 | undefined_index_btn_size-2876614-2.patch | 1.26 KB | sylus |
Comments
Comment #2
sylus CreditAttribution: sylus commentedComment #3
Somfai Tibor CreditAttribution: Somfai Tibor as a volunteer commentedI would have read bug reports :D.
I found the same mistake.
I found the solution: 'btn_size' => '',.
I thinking I would write a report.
Then I see that they've been solved.
I confirm that this solution works!
Comment #4
mgstablesI also confirm that this solution works.
Comment #5
lakenney CreditAttribution: lakenney commentedManually adding 'btn_size' => '', to line 34 in the src/Plugin/Field/FieldFormatter/ButtonLinkFormatter.php worked for me.
Thank you!
Comment #7
hatuhay CreditAttribution: hatuhay commented