Remove extra semi-colon and change docblock to use inheritdoc.

   * Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinition().
  public function getDefinition($plugin_id) {
    return $this->discovery->getDefinition($plugin_id);;
#1 2002232-plugin-manager-base-cleanup-1.patch2.35 KBkim.pepper
PASSED: [[SimpleTest]]: [MySQL] 56,238 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


kim.pepper’s picture

Status: Active » Needs review
2.35 KB
PASSED: [[SimpleTest]]: [MySQL] 56,238 pass(es). View

Cleans up.

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/core/lib/Drupal/Component/Plugin/PluginManagerBase.phpundefined
@@ -46,21 +46,21 @@
-    return $this->discovery->getDefinition($plugin_id);;
+    return $this->discovery->getDefinition($plugin_id);


alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 411dc59 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.