diff --git a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php index 7fb48fa..eb5eeee 100644 --- a/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php +++ b/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php @@ -267,8 +267,9 @@ protected function enforcePluginInterface($plugin_id, $plugin_definition) { elseif (is_string($this->interface) && is_subclass_of($plugin_definition['class'], $this->interface)) { return; } - throw new PluginException(String::format('Plugin @plugin_id in @provider should implement interface @interface', array( + throw new PluginException(String::format('Plugin "@plugin_id" (@class) in @provider should implement interface @interface', array( '@plugin_id' => $plugin_id, + '@class' => $plugin_definition['class'], '@provider' => $plugin_definition['provider'], '@interface' => is_array($this->interface) ? implode(', ', $this->interface) : $this->interface, ))); diff --git a/core/modules/views/src/Plugin/ViewsJoinManager.php b/core/modules/views/src/Plugin/ViewsJoinManager.php new file mode 100644 index 0000000..66411a1 --- /dev/null +++ b/core/modules/views/src/Plugin/ViewsJoinManager.php @@ -0,0 +1,20 @@ +configuration['table formula'])) { diff --git a/core/modules/views/src/Plugin/views/join/JoinPluginInterface.php b/core/modules/views/src/Plugin/views/join/JoinPluginInterface.php new file mode 100644 index 0000000..03fefb2 --- /dev/null +++ b/core/modules/views/src/Plugin/views/join/JoinPluginInterface.php @@ -0,0 +1,31 @@ +getMock('Drupal\Core\Extension\ModuleHandlerInterface');