Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / src / Drupal / DrupalExtension / Context / DrupalSubContextInterface.php
diff --git a/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Context/DrupalSubContextInterface.php b/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Context/DrupalSubContextInterface.php
new file mode 100644 (file)
index 0000000..03699b1
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+
+/**
+ * Contains \Drupal\DrupalExtension\Context\DrupalSubContextInterface.
+ */
+
+namespace Drupal\DrupalExtension\Context;
+
+use Behat\Behat\Context\Context;
+use Drupal\DrupalDriverManager;
+
+/**
+ * Interface for subcontexts.
+ *
+ * Implement this interface if you want to provide custom Behat step definitions
+ * for your contributed modules. The class should be placed in a file named
+ * 'MYMODULE.behat.inc'.
+ *
+ * See the documentation on "Contributed module subcontexts".
+ */
+interface DrupalSubContextInterface extends Context {
+
+  /**
+   * Instantiates the subcontext.
+   *
+   * @param \Drupal\DrupalDriverManager $drupal
+   *   The Drupal Driver manager.
+   */
+  public function __construct(DrupalDriverManager $drupal);
+
+}