Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 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 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]

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: 104 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class

behat_deprecated:: (2 methods):
  i_dock_block()
  deprecated_message()


Class: behat_deprecated  - X-Ref

Deprecated behat step definitions.

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