Loading extra_field_plus.module +3 −0 Original line number Diff line number Diff line Loading @@ -258,6 +258,9 @@ function extra_field_plus_form_entity_view_display_edit_form_submit(array $form, $view_display->setComponent($name, [ // Setting a type makes it possible to provide a config schema for // the settings. 'type' => $name, 'settings' => $settings, ] + $component) ->save(); Loading Loading
extra_field_plus.module +3 −0 Original line number Diff line number Diff line Loading @@ -258,6 +258,9 @@ function extra_field_plus_form_entity_view_display_edit_form_submit(array $form, $view_display->setComponent($name, [ // Setting a type makes it possible to provide a config schema for // the settings. 'type' => $name, 'settings' => $settings, ] + $component) ->save(); Loading