diff -u b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml --- b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml @@ -94,7 +94,7 @@ hide_empty: '0' empty_zero: '0' hide_alter_empty: '1' - module: user + module: views_test_config name: test_value_name plugin_id: user_data filters: diff -u b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php --- b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php @@ -773,7 +773,7 @@ // Load the plugin ID and module. $display_options['fields'][$field]['plugin_id'] = $data[$field]['field']['id']; if ($definition = Views::pluginManager('field')->getDefinition($display_options['fields'][$field]['plugin_id'])) { - $display_options['fields'][$field]['plugin_id'] = $definition['module']; + $display_options['fields'][$field]['module'] = isset($definition['module']) ? $definition['module'] : 'views'; } return $display_options; diff -u b/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php --- b/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1938,7 +1938,7 @@ if (isset($data[$field][$handler_type]['id'])) { $fields[$id]['plugin_id'] = $data[$field][$handler_type]['id']; if ($definition = Views::pluginManager($handler_type)->getDefinition($fields[$id]['plugin_id'])) { - $fields[$id]['plugin_id']['module'] = $definition['module']; + $fields[$id]['module'] = isset($definition['module']) ? $definition['module'] : 'views'; } } only in patch2: unchanged: --- a/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php @@ -294,6 +294,7 @@ protected function displayMethodTests() { 'table' => 'views_test_data', 'field' => 'id', 'plugin_id' => 'numeric', + 'module' => 'views', ); $this->assertEqual($item1, $expected_item); @@ -309,6 +310,7 @@ protected function displayMethodTests() { 'table' => 'views_test_data', 'field' => 'name', 'plugin_id' => 'standard', + 'module' => 'views', ) + $options; $this->assertEqual($item2, $expected_item);