Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / lib / Drupal / Core / Plugin / ContextAwarePluginBase.php
index 80f10d202149dff797e5ea8e1a2158ec06d56925..ed8abf17fad0af571d1a68a6723cae3cf1200958 100644 (file)
@@ -70,7 +70,7 @@ abstract class ContextAwarePluginBase extends ComponentContextAwarePluginBase im
    * {@inheritdoc}
    */
   public function setContextValue($name, $value) {
-    $this->context[$name] = Context::createFromContext($this->getContext($name), $value);
+    $this->setContext($name, Context::createFromContext($this->getContext($name), $value));
     return $this;
   }