Add dashboard-pane attribute to help target dashboard panes

This commit is contained in:
Paul Weidner 2023-08-25 11:57:43 -07:00 committed by Michael Stenta
parent dd3e9e68b2
commit 74dfee5024
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ class DashboardController extends ControllerBase {
$container = [
'#type' => 'container',
'#weight' => $weight,
'#attributes' => [
'class' => ['dashboard-pane'],
],
];
// If a title is set, make it a fieldset.