$form['displays'
] =
[ '#prefix' => '<h1 class="unit-title clearfix">' .
$this->
t('Displays'
) . '</h1>',
'#type' => 'container',
'#attributes' =>
[ 'class' =>
[ 'views-displays',
],
],
];
$form['displays'
]['top'
] =
$this->
renderDisplayTop($view);
// The rest requires a display to be selected.
if ($display_id) { $form_state->
set('display_id',
$display_id);
// The part of the page where editing will take place.
$form['displays'
]['settings'
] =
[ '#type' => 'container',
'#id' => 'edit-display-settings',
'#attributes' =>
[ 'class' =>
['edit-display-settings'
],
],