Skip to content
Snippets Groups Projects
Commit b95c5a20 authored by catch's avatar catch
Browse files

Issue #2683763 by amateescu: Referenceable bundles should be sorted by Label,...

Issue #2683763 by amateescu: Referenceable bundles should be sorted by Label, not by their machine name
parent 2e50c28d
No related branches found
No related tags found
Loading
......@@ -130,6 +130,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
foreach ($bundles as $bundle_name => $bundle_info) {
$bundle_options[$bundle_name] = $bundle_info['label'];
}
natsort($bundle_options);
$form['target_bundles'] = array(
'#type' => 'checkboxes',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment