projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
system
/
tests
/
modules
/
form_test
/
src
/
Form
/
FormTestGroupDetailsForm.php
diff --git
a/web/core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php
b/web/core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php
index 12a05e12d2b1b84f6c57222b71bde4c8bd98cd57..32722fdb0660f4f9c72b5e6d9ed65ba583c13c86 100644
(file)
--- a/
web/core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php
+++ b/
web/core/modules/system/tests/modules/form_test/src/Form/FormTestGroupDetailsForm.php
@@
-39,6
+39,13
@@
class FormTestGroupDetailsForm extends FormBase {
'#type' => 'textfield',
'#title' => 'Nest in details element',
];
'#type' => 'textfield',
'#title' => 'Nest in details element',
];
+ $form['summary_attributes'] = [
+ '#type' => 'details',
+ '#title' => 'Details element with summary attributes',
+ '#summary_attributes' => [
+ 'data-summary-attribute' => 'test',
+ ],
+ ];
return $form;
}
return $form;
}