core_extension extends extension
Core Extension class.
Table of Contents
Constants
- EXTENSION_IDNUMBER = 'core'
- GROUP = \local_middag\framework\shared\enum\extension_group::CORE->value
- PRIORITY = 100
Methods
- get_icon() : string
- Returns the icon slug for this extension.
- is_core() : bool
- Check if the extension is the core component.
- is_enabled() : bool
- Check if the extension is enabled.
Constants
EXTENSION_IDNUMBER
public
mixed
EXTENSION_IDNUMBER
= 'core'
GROUP
public
mixed
GROUP
= \local_middag\framework\shared\enum\extension_group::CORE->value
PRIORITY
public
mixed
PRIORITY
= 100
Methods
get_icon()
Returns the icon slug for this extension.
public
get_icon() : string
Return values
string —Icon identifier under pix/extensions
is_core()
Check if the extension is the core component.
public
is_core() : bool
Return values
bool —true if the extension is the core component, false otherwise
is_enabled()
Check if the extension is enabled.
public
is_enabled() : bool
Return values
bool —true if the extension is enabled, false otherwise