When saving the form I get an undefined index btn_size.

Patch forthcoming.

CommentFileSizeAuthor
#2 undefined_index_btn_size-2876614-2.patch1.26 KBsylus
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sylus created an issue. See original summary.

sylus’s picture

Status: Active » Needs review
FileSize
1.26 KB
Somfai Tibor’s picture

Status: Needs review » Reviewed & tested by the community

I 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!

mgstables’s picture

I also confirm that this solution works.

lakenney’s picture

Issue tags: +Button Link

Manually adding 'btn_size' => '', to line 34 in the src/Plugin/Field/FieldFormatter/ButtonLinkFormatter.php worked for me.

Thank you!

  • hatuhay committed 3be41e0 on 8.x-1.x authored by sylus
    Issue #2876614 by sylus: Undefined Index btn_size
    
hatuhay’s picture

Version: 8.x-1.x-dev » 8.x-1.0
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.