summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalpaitch2018-04-21 14:58:42 (GMT)
committerLuca Lusso2018-04-21 14:58:42 (GMT)
commiteb934b2325c3d107f633279a8784de80caae1a1a (patch)
tree8f4bc2410c25e1d63e24510d7bf949de74579541
parent8c52d2348bedeff63d734df064d36a27d467e17d (diff)
Issue #2927963 by kalpaitch: getInstance() fatals on MailManagerWrapper
-rw-r--r--webprofiler/src/Mail/MailManagerWrapper.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/webprofiler/src/Mail/MailManagerWrapper.php b/webprofiler/src/Mail/MailManagerWrapper.php
index 58ecddc..2689510 100644
--- a/webprofiler/src/Mail/MailManagerWrapper.php
+++ b/webprofiler/src/Mail/MailManagerWrapper.php
@@ -91,4 +91,14 @@ class MailManagerWrapper extends DefaultPluginManager implements MailManagerInte
return $message;
}
+
+ /**
+ * {@inheritdoc}
+ *
+ * Must call getInstance on the decorated MailManager.
+ * @see https://www.drupal.org/node/2625554
+ */
+ public function getInstance(array $options) {
+ return $this->mailManager->getInstance($options);
+ }
}