'#weight' =>
min($weights) - 1,
];
} $build['#attributes'
]['data-layout-update-url'
] = Url::
fromRoute('layout_builder.move_block',
[ 'section_storage_type' =>
$storage_type,
'section_storage' =>
$storage_id,
])->
toString();
$build['#attributes'
]['data-layout-delta'
] =
$delta;
$build['#attributes'
]['class'
][] = 'layout-builder__layout';
$build['#attributes'
]['data-layout-builder-highlight-id'
] =
$this->
sectionUpdateHighlightId($delta);
return [ '#type' => 'container',
'#attributes' =>
[ 'class' =>
['layout-builder__section'
],
'role' => 'group',
'aria-label' =>
$section_label,
],
'remove' =>
[ '#type' => 'link',
'#title' =>
$this->
t('Remove @section',
['@section' =>
$section_label]),