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

please wizard tests

parent 93351462
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
......@@ -9,6 +9,7 @@
use Drupal\views\View;
use Drupal\views\Plugin\views\wizard\WizardInterface;
use Drupal\views\Plugin\Type\ViewsPluginManager;
/**
* A very generic Views Wizard class - can be constructed for any base table.
......@@ -671,7 +672,9 @@ protected function default_display_filters_user($form, $form_state) {
// 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.
$handler = $table_data[$bundle_key]['filter']['id'];
if ($handler == 'in_operator' || is_subclass_of($handler, 'Drupal\\views\\Plugin\\views\\filter\\InOperator')) {
$plugin_manager = new ViewsPluginManager('filter');
$handler_definition = $plugin_manager->getDefinition($handler);
if ($handler == 'in_operator' || is_subclass_of($handler_definition['class'], 'Drupal\\views\\Plugin\\views\\filter\\InOperator')) {
$value = drupal_map_assoc(array($form_state['values']['show']['type']));
}
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