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(count($css_vars)< 2) $options
if(!elgg_get_config('trash_enabled')) $group