customform_extension extends extension
Public SDK Extension.
Extensions should extend this class to register controllers, services, routes, and other lifecycle hooks exposed by the framework.
Table of Contents
Constants
- EXTENSION_IDNUMBER = 'customform'
- GROUP = \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value
- PRIORITY = 30
Methods
- get_icon() : string
- Returns the icon slug for this extension.
- get_quick_access_links() : array<int, array{id: string, title: string, url: mixed}>
- Provide quick access links (tabs) for Shops and Orders.
- has_moodle_settings() : bool
- Whether this extension provides Moodle settings to be rendered dynamically.
Constants
EXTENSION_IDNUMBER
public
mixed
EXTENSION_IDNUMBER
= 'customform'
GROUP
public
mixed
GROUP
= \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value
PRIORITY
public
mixed
PRIORITY
= 30
Methods
get_icon()
Returns the icon slug for this extension.
public
get_icon() : string
Return values
string —Icon identifier under pix/extensions
get_quick_access_links()
Provide quick access links (tabs) for Shops and Orders.
public
get_quick_access_links() : array<int, array{id: string, title: string, url: mixed}>
Return values
array<int, array{id: string, title: string, url: mixed}> —List of quick links
has_moodle_settings()
Whether this extension provides Moodle settings to be rendered dynamically.
public
has_moodle_settings() : bool
If true, settings.php may build a tab for it.