As per https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21..., form elements attributes should be defined as arrays of strings, while the module sets the classes as '#attributes' => array('class' => 'draggableviews-parent'). This causes warning (and missing classes) in some themes, e.g. in Bootstrap.

Comments

Alex Bukach created an issue. See original summary.

alex.bukach’s picture

Issue summary: View changes
alex.bukach’s picture

Assigned: alex.bukach » Unassigned
Status: Active » Needs review
StatusFileSize
new966 bytes
karol haltenberger’s picture

Status: Needs review » Reviewed & tested by the community
visabhishek’s picture

Related issue : https://www.drupal.org/node/2853167 Both patches are same.

alex.bukach’s picture

@visabhishek it is this issue you are referring to :) That is, you mention the issue as related to itself.

alex.bukach’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

See https://www.drupal.org/node/2729935. That patch was proposed a week before mine.

ressa’s picture

But #2853167: Set form attribute class as array is this issue? A recurring issue with this issue :-)

alex.bukach’s picture

Damn, I made the same mistake as @visabhishek before :D Fixed the message.