Skip to content

Commit e118258

Browse files
Sweetchuckbojanz
authored andcommitted
Issue #2907828 by Sweetchuck: ProductForm class in #attributes should be an array
1 parent 01c97ab commit e118258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/product/src/Form/ProductForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function form(array $form, FormStateInterface $form_state) {
114114
'#value' => $product->isPublished() ? $this->t('Published') : $this->t('Not published'),
115115
'#access' => !$product->isNew(),
116116
'#attributes' => [
117-
'class' => 'entity-meta__title',
117+
'class' => ['entity-meta__title'],
118118
],
119119
],
120120
'changed' => [

0 commit comments

Comments
 (0)