1 | <?php |
||
14 | class RawDrupalContext extends OriginalRawDrupalContext { |
||
15 | |||
16 | /** |
||
17 | * Get current Drupal core. |
||
18 | * |
||
19 | * @return \NuvoleWeb\Drupal\Driver\Cores\CoreInterface |
||
20 | * Drupal core object instance. |
||
21 | */ |
||
22 | public function getCore() { |
||
25 | |||
26 | /** |
||
27 | * Assert access denied page. |
||
28 | * |
||
29 | * @Then I should get an access denied error |
||
30 | */ |
||
31 | public function assertAccessDenied() { |
||
34 | |||
35 | /** |
||
36 | * Pause execution for given number of seconds. |
||
37 | * |
||
38 | * @Then I wait :seconds seconds |
||
39 | */ |
||
40 | public function iWaitSeconds($seconds) { |
||
43 | |||
44 | /** |
||
45 | * Loads a node by name. |
||
46 | * |
||
47 | * @param string $title |
||
48 | * The title of the node to load. |
||
49 | * |
||
50 | * @return Node |
||
51 | * The loaded node. |
||
52 | * |
||
53 | * @throws \Exception |
||
54 | * Thrown when no node with the given title can be loaded. |
||
55 | */ |
||
56 | public function loadNodeByName($title) { |
||
74 | |||
75 | } |
||
76 |