Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / src / Drupal / DrupalExtension / Context / DrupalAwareInterface.php
diff --git a/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Context/DrupalAwareInterface.php b/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Context/DrupalAwareInterface.php
new file mode 100644 (file)
index 0000000..67c597d
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+
+namespace Drupal\DrupalExtension\Context;
+
+use Behat\Behat\Context\Context;
+use Behat\Testwork\Hook\HookDispatcher;
+
+use Drupal\DrupalDriverManager;
+use Symfony\Component\EventDispatcher\EventDispatcher;
+
+interface DrupalAwareInterface extends Context {
+
+  /**
+   * Sets Drupal instance.
+   */
+  public function setDrupal(DrupalDriverManager $drupal);
+
+  /**
+   * Set event dispatcher.
+   */
+  public function setDispatcher(HookDispatcher $dispatcher);
+
+  /**
+   * Gets Drupal instance.
+   */
+  public function getDrupal();
+
+  /**
+   * Sets parameters provided for Drupal.
+   *
+   * @param array $parameters
+   */
+  public function setDrupalParameters(array $parameters);
+}