Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
aiplacement_editor\utils Class Reference

Static Public Member Functions

static is_html_editor_placement_action_available (context $context, string $actionname, string $actionclass)
 Check if AI Placement HTML editor action is available for the context.
 

Member Function Documentation

◆ is_html_editor_placement_action_available()

static aiplacement_editor\utils::is_html_editor_placement_action_available ( context $context,
string $actionname,
string $actionclass )
static

Check if AI Placement HTML editor action is available for the context.

Parameters
context$contextThe context.
string$actionnameThe name of the action.
string$actionclassThe class name of the action.
Return values
boolTrue if the action is available, false otherwise.

The documentation for this class was generated from the following file: