17 'id' =>
"{$plugin_id}-settings",
18 'class' =>
'elgg-form-settings',
22 $form_vars[
'action'] =
"action/{$plugin_id}/settings/save";
if(!elgg_view_exists("plugins/{$plugin_id}/settings")) $form_vars
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_action_exists(string $action)
Check if an action is registered and its script exists.
$plugin
Elgg plugin settings.
elgg_view_exists(string $view, string $viewtype= '', bool $recurse=true)
Returns whether the specified view exists.