1 | <?php |
||
7 | class NodeContext extends RawNodeContext |
||
8 | { |
||
9 | /** |
||
10 | * @param string $operation |
||
11 | * Allowable values: "edit", "view", "visit". |
||
12 | * @param string $nid |
||
13 | * Node ID or inaccurate title. |
||
14 | * @param string $contentType |
||
15 | * Content type, for additional filter of a search query. |
||
16 | * |
||
17 | * @When /^(?:|I )(visit|view|edit) (?:the "([^"]+)"|current) node(?:| of type "([^"]+)")$/ |
||
18 | */ |
||
19 | public function visitPage($operation, $nid = '', $contentType = '') |
||
26 | } |
||
27 |