Loading src/Form/DashboardForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class DashboardForm extends EntityForm { $regionOptions[$i] = $i . ' ' . $this->t('Column'); } $entities = $dashboard->get('blocks'); $entities = $dashboard->get('blocks') ?? []; // Weights range from -delta to +delta, so delta should be at least half // of the amount of blocks present. This makes sure all blocks in the same Loading Loading
src/Form/DashboardForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class DashboardForm extends EntityForm { $regionOptions[$i] = $i . ' ' . $this->t('Column'); } $entities = $dashboard->get('blocks'); $entities = $dashboard->get('blocks') ?? []; // Weights range from -delta to +delta, so delta should be at least half // of the amount of blocks present. This makes sure all blocks in the same Loading