summaryrefslogtreecommitdiffstats
path: root/core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php')
-rw-r--r--core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php b/core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
index 043e5c7..170bcd0 100644
--- a/core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
+++ b/core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
@@ -87,6 +87,8 @@ trait FieldLayoutEntityDisplayFormTrait {
'#tree' => TRUE,
];
+ $form['field_layouts']['settings_wrapper']['icon'] = $layout_plugin->getPluginDefinition()->getIcon();
+
if ($layout_plugin instanceof PluginFormInterface) {
$form['field_layouts']['settings_wrapper']['layout_settings'] = [];
$subform_state = SubformState::createForSubform($form['field_layouts']['settings_wrapper']['layout_settings'], $form, $form_state);