Skip to content

Commit

Permalink
fix(YALB-1233): remove old drupal autocomplete config
Browse files Browse the repository at this point in the history
Now that we are using chosen, we do not need these extra options.
  • Loading branch information
dblanken-yale committed Jul 24, 2023
1 parent 0990c30 commit 299ac57
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,6 @@ public function formElement(
'#tags' => TRUE,
'#target_type' => 'taxonomy_term',
'#default_value' => ($items[$delta]->params) ? $this->viewsBasicManager->getDefaultParamValue('terms_include', $items[$delta]->params) : [],
'#selection_handler' => 'views',
'#selection_settings' => [
'view' => [
'view_name' => 'taxonomy_lookup',
'display_name' => 'entity_reference_1',
'arguments' => [],
],
],
];

$form['group_user_selection']['filter_and_sort']['terms_exclude'] = [
Expand All @@ -240,14 +232,6 @@ public function formElement(
'#tags' => TRUE,
'#target_type' => 'taxonomy_term',
'#default_value' => ($items[$delta]->params) ? $this->viewsBasicManager->getDefaultParamValue('terms_exclude', $items[$delta]->params) : [],
'#selection_handler' => 'views',
'#selection_settings' => [
'view' => [
'view_name' => 'taxonomy_lookup',
'display_name' => 'entity_reference_1',
'arguments' => [],
],
],
];

// Gets the view mode options based on Ajax callbacks or initial load.
Expand Down

0 comments on commit 299ac57

Please sign in to comment.