Search moodle.org's
Developer Documentation

See Release Notes

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

(no description)

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

Defines 1 class


Class: media_test  - X-Ref

Unit tests for the media plugininfo class.

test_get_enabled_plugins()   X-Ref
Test the get_enabled_plugins method.


test_is_uninstall_allowed(string $plugin,)   X-Ref
Test the is_uninstall_allowed method.

param: string $plugin

is_uninstall_allowed_provider()   X-Ref
Data provider for the is_uninstall_allowed tests.

return: array

test_change_plugin_order(array $initialorder,string $pluginname,int $direction,array $neworder,)   X-Ref
Ensure that change_plugin_order() changes the order of the plugins.

param: string $initialorder
param: string $pluginname
param: int $direction
param: array $neworder

change_plugin_order_provider()   X-Ref
No description