MIDDAG for Moodle

forceprofile_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  = 'forceprofile'
GROUP  = \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value
PRIORITY  = 20

Methods

get_extension_badges()  : array<string|int, mixed>
Get the badges associated with the extension.
get_icon()  : string
Returns the icon slug for this extension.
is_available()  : bool
Check if the resource is available.

Constants

GROUP

public mixed GROUP = \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value

Methods

get_extension_badges()

Get the badges associated with the extension.

public get_extension_badges() : array<string|int, mixed>

severity: secondary, success, info, warn, danger, contrast label: name.

Return values
array<string|int, mixed>

the badges of the extension

get_icon()

Returns the icon slug for this extension.

public get_icon() : string

Keep "forcecpf" as requested (asset name).

Return values
string

Icon identifier under pix/extensions

is_available()

Check if the resource is available.

public is_available() : bool
Return values
bool

the availability status of the resource


        
On this page

Search results