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.

Differences Between: [Versions 401 and 402]

(no description)

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

Defines 1 class


Class: tiny  - X-Ref

Subplugin info class.

plugintype_supports_disabling()   X-Ref
No description

is_uninstall_allowed()   X-Ref
These subplugins can be uninstalled.

return: bool

get_manage_url()   X-Ref
Return URL used for management of plugins of this type.

return: moodle_url

load_settings(\part_of_admin_tree $adminroot, $parentnodename, $hassiteconfig)   X-Ref
Include the settings.php file from subplugins if provided.

This is a copy of very similar implementations from various other subplugin areas.

param: \part_of_admin_tree $adminroot
param: string $parentnodename
param: bool $hassiteconfig whether the current user has moodle/site:config capability

get_settings_section_name()   X-Ref
Get the settings section name.
This is used to get the setting links in the Tiny sub-plugins table.

return: null|string the settings section name.

get_enabled_plugins()   X-Ref
No description

enable_plugin(string $plugin, int $enabled)   X-Ref
No description