Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Plugin / Context / ContextDefinitionInterface.php
index c60c6c7fcb6533e6475d4c5e685de00128739caf..2f66fe9ef40c39e3fa1b49804ce48c391df4581d 100644 (file)
@@ -20,4 +20,16 @@ interface ContextDefinitionInterface extends ComponentContextDefinitionInterface
    */
   public function getDataDefinition();
 
+  /**
+   * Determines if this definition is satisfied by a context object.
+   *
+   * @param \Drupal\Core\Plugin\Context\ContextInterface $context
+   *   The context object.
+   *
+   * @return bool
+   *   TRUE if this definition is satisfiable by the context object, FALSE
+   *   otherwise.
+   */
+  public function isSatisfiedBy(ContextInterface $context);
+
 }