Skip to content
Snippets Groups Projects
Commit b0918738 authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

another approach to fix the wizard tests

parent 18e56381
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
...@@ -671,7 +671,7 @@ protected function default_display_filters_user($form, $form_state) { ...@@ -671,7 +671,7 @@ protected function default_display_filters_user($form, $form_state) {
// Check whether the bundle key filter handler is or an child of it in_operator // Check whether the bundle key filter handler is or an child of it in_operator
// If it's not just use a single value instead of an array. // If it's not just use a single value instead of an array.
$handler = $table_data[$bundle_key]['filter']['id']; $handler = $table_data[$bundle_key]['filter']['id'];
if ($handler == 'in_operator' || is_subclass_of($handler, 'Drupal\views\Plugin\views\filter\InOperator')) { if ($handler == 'in_operator' || is_subclass_of($handler, 'Drupal\\views\\Plugin\\views\\filter\\InOperator')) {
$value = drupal_map_assoc(array($form_state['values']['show']['type'])); $value = drupal_map_assoc(array($form_state['values']['show']['type']));
} }
else { else {
......
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