Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310] [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

Steps definitions that will be deprecated in the next releases.

Copyright: 2013 David MonllaĆ³
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 157 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class

behat_deprecated:: (3 methods):
  i_navigate_to_node_in()
  i_dock_block()
  deprecated_message()


Class: behat_deprecated  - X-Ref

Deprecated behat step definitions.

i_navigate_to_node_in($nodetext, $parentnodes)   X-Ref
Click link in navigation tree that matches the text in parentnode/s (seperated using greater-than character if more than one)

param: string $nodetext navigation node to click.
param: string $parentnodes comma seperated list of parent nodes.
return: void

i_dock_block($blockname)   X-Ref
Docks a block. Editing mode should be previously enabled.

param: string $blockname
return: void

deprecated_message($alternatives, $throwexception = false)   X-Ref
Throws an exception if $CFG->behat_usedeprecated is not allowed.

param: string|array $alternatives Alternative/s to the requested step
param: bool $throwexception If set to true we always throw exception, irrespective of behat_usedeprecated setting.
return: void