26 $this->tools =
new Collection([], Tool::class);
45 $this->tools->add($tool);
56 $this->tools->remove(
$name);
74 public function all() {
77 return $this->events->triggerResults(
'tool_options',
'group', [], $tool_options);
95 return $this->events->triggerResults(
'tool_options',
'group',
$params, $tool_options);
if(! $user||! $user->canDelete()) $name
$params
Saves global plugin settings.
A collection of unique items.
if($who_can_change_language==='nobody') elseif($who_can_change_language==='admin_only' &&!elgg_is_admin_logged_in()) $options
if(!elgg_get_config('trash_enabled')) $group