Commit b95c5a20 authored by catch's avatar catch

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
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment