Skip to content
Snippets Groups Projects
Commit 2f027d5c authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1904882 by balsama, YesCT: Entity reference field Reference method...

Issue #1904882 by balsama, YesCT: Entity reference field Reference method Default settings order should be Filter by then Sort by.
parent 10b2281f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -31,8 +31,6 @@ class UserSelection extends SelectionBase {
* Overrides SelectionBase::settingsForm().
*/
public static function settingsForm(&$field, &$instance) {
$form = parent::settingsForm($field, $instance);
// Merge in default values.
$instance['settings']['handler_settings'] += array(
'filter' => array(
......@@ -74,6 +72,8 @@ public static function settingsForm(&$field, &$instance) {
);
}
$form += parent::settingsForm($field, $instance);
return $form;
}
......
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