diff --git a/core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php b/core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php index e6ab0d6..7a17cf7 100644 --- a/core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php +++ b/core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php @@ -42,7 +42,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta public function getReferenceableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0) { if ($match || $limit) { $configuration = $this->getConfiguration(); - $configuration['handler_settings']['sort'] = ['field' => 'name', 'direction' => 'asc']; + $configuration['sort'] = ['field' => 'name', 'direction' => 'asc']; $this->setConfiguration($configuration); return parent::getReferenceableEntities($match, $match_operator, $limit); }