sentry_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 = 'sentry'
- GROUP = \local_middag\framework\shared\enum\extension_group::INTEGRATIONS->value
- PRIORITY = 40
Methods
- get_config_page_title() : string
- get_icon() : string
- Returns the icon slug for this extension.
- get_settings_pages() : array<int, object>
- Build the admin settings pages for this extension.
- has_moodle_settings() : bool
- Determines whether this extension has Moodle settings.
Constants
EXTENSION_IDNUMBER
public
mixed
EXTENSION_IDNUMBER
= 'sentry'
GROUP
public
mixed
GROUP
= \local_middag\framework\shared\enum\extension_group::INTEGRATIONS->value
PRIORITY
public
mixed
PRIORITY
= 40
Methods
get_config_page_title()
public
get_config_page_title() : string
Return values
stringget_icon()
Returns the icon slug for this extension.
public
get_icon() : string
Return values
string —Icon identifier under pix/extensions
get_settings_pages()
Build the admin settings pages for this extension.
public
get_settings_pages() : array<int, object>
Return values
array<int, object>has_moodle_settings()
Determines whether this extension has Moodle settings.
public
has_moodle_settings() : bool
Return values
bool —true if the extension has Moodle settings, otherwise false