X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FPlugin%2FContext%2FContextHandlerInterface.php;h=d524dcf2216d63fb0bd29f43ca84d8ce98edf06f;hb=refs%2Fheads%2Fd864;hp=a0d57036083f4c00452556317054642eb73bf67b;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php b/web/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php index a0d570360..d524dcf22 100644 --- a/web/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php +++ b/web/core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php @@ -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 = []);