Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
68 | 68 |
69 /** | 69 /** |
70 * {@inheritdoc} | 70 * {@inheritdoc} |
71 */ | 71 */ |
72 public function setContextValue($name, $value) { | 72 public function setContextValue($name, $value) { |
73 $this->context[$name] = Context::createFromContext($this->getContext($name), $value); | 73 $this->setContext($name, Context::createFromContext($this->getContext($name), $value)); |
74 return $this; | 74 return $this; |
75 } | 75 } |
76 | 76 |
77 /** | 77 /** |
78 * {@inheritdoc} | 78 * {@inheritdoc} |