Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Plugin / Context / ContextHandlerInterface.php
index a0d57036083f4c00452556317054642eb73bf67b..d524dcf2216d63fb0bd29f43ca84d8ce98edf06f 100644 (file)
@@ -74,6 +74,9 @@ interface ContextHandlerInterface {
    *
    * @throws \Drupal\Component\Plugin\Exception\ContextException
    *   Thrown when a context assignment was not satisfied.
+   * @throws \Drupal\Component\Plugin\Exception\MissingValueContextException
+   *   Thrown when a context is provided but has no value. Only thrown if
+   *   no contexts are missing.
    */
   public function applyContextMapping(ContextAwarePluginInterface $plugin, $contexts, $mappings = []);