The class attribute should be an array and not a string. https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Template%...

Attached patch fixes the 4 instances where class is set as a string

CommentFileSizeAuthor
legal-set-class-to-array.patch1.8 KBctrladel

Comments

ctrlADel created an issue. See original summary.

bandanasharma’s picture

Status: Needs review » Reviewed & tested by the community

@ctrlADel patch is apply successfully and changes reflected on file.

corinnewelsh’s picture

Status: Reviewed & tested by the community » Needs review

I have reviewed and tested. It looks good.

lpc’s picture

Status: Needs review » Reviewed & tested by the community

LGTM

andreiamartins’s picture

It works for me.

andreiamartins’s picture

It works for me.

robert castelo’s picture

Thanks, good catch!

andreiamartins’s picture

It works for me.

  • Robert Castelo committed 9a1e381 on 8.x-1.x
    Issue #3010441 by ctrlADel, bandanasharma, corinnewelsh, lukas.chowis,...
robert castelo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, added to dev branch - will go into next release.

Status: Fixed » Closed (fixed)

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