Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / src / Drupal / DrupalExtension / Context / DrupalAwareInterface.php
1 <?php
2
3 namespace Drupal\DrupalExtension\Context;
4
5 use Behat\Behat\Context\Context;
6 use Behat\Testwork\Hook\HookDispatcher;
7
8 use Drupal\DrupalDriverManager;
9 use Symfony\Component\EventDispatcher\EventDispatcher;
10
11 interface DrupalAwareInterface extends Context {
12
13   /**
14    * Sets Drupal instance.
15    */
16   public function setDrupal(DrupalDriverManager $drupal);
17
18   /**
19    * Set event dispatcher.
20    */
21   public function setDispatcher(HookDispatcher $dispatcher);
22
23   /**
24    * Gets Drupal instance.
25    */
26   public function getDrupal();
27
28   /**
29    * Sets parameters provided for Drupal.
30    *
31    * @param array $parameters
32    */
33   public function setDrupalParameters(array $parameters);
34 }