Skip to content

Commit

Permalink
Sort BlockManagers
Browse files Browse the repository at this point in the history
Sorts BlockManagers alphabetically
  • Loading branch information
GeneraleCauchemar authored and artggd committed Apr 10, 2019
1 parent 3ced25f commit 8d2df8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Form/PanelType.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ public function getBlockManagers(array $options)
continue;
}

$blockManagers[] = $blockManager;
$blockManagers[$this->translator->trans($blockManager->getPublicName())] = $blockManager;
}
ksort($blockManagers);

return $blockManagers;
}
Expand Down

0 comments on commit 8d2df8a

Please sign in to comment.