Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

File Size: 172 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: set_plugin_order_test  - X-Ref

Unit tests to configure the plugin order.

Note: Not all plugins can be ordered, so this test is limited to those which support it.

test_execute_editors(string $initialstate,string $plugin,int $direction,array $neworder,string $newstate,)   X-Ref
Text execute method for editor plugins, which support ordering.

param: string $initialstate The initial state of the plugintype
param: string $plugin The name of the plugin
param: int $direction
param: array $neworder
param: string $newstate

execute_editor_provider()   X-Ref
Data provider for base tests of the execute method.

return: array

test_execute_editors_non_orderable(string $plugin)   X-Ref
Text execute method for plugins which do not support ordering.

param: string $plugin

execute_non_orderable_provider()   X-Ref
No description

test_execute_no_login()   X-Ref
Test execute method with no login.


test_execute_no_capability()   X-Ref
Test execute method with no login.