diff --git a/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php index 799eec2a7c4a10da5e128288e2a2e306c5cbb4eb..a90ad3629aefcaf48e873539b8268cac1a6953ee 100644 --- a/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php +++ b/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php @@ -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 {