There is an adminkit library included in /starterkit/partials/layout-builder-admin/form--layout-builder.html.twig with
{{ attach_library('adminkit/global-styling') }}
as this seems to be the reason the template is used at all I believe that whole template can be removed.
This twig template is included in /starterkit/starterkit.theme with
// *********************************************
// 4. Layout Builder Improvements
// This section in Staterkit and Adminkit match
// One for node edit pages and one for layout build modal.
// This is used to support dragula js for paragraphs.
// @todo can this moved to module?
// *********************************************
/**
* Implements template_theme().
*
* Define the new template for the theme below.
*/
function starterkit_theme($existing, $type, $theme, $path) {
$theme_path = \Drupal::theme()->getActiveTheme()->getPath();
return [
'field_multiple_value_form_divs' => [
'template' => 'field-multiple-value-form-divs',
'path' => $theme_path . '/partials/layout-builder-admin',
'theme path' => $theme_path,
'render element' => 'element',
],
];
}
Which can be removed if that library is indeed the only reason for the template.
Needs review
1.0
Code