31 $this->tools =
new Collection([], Tool::class);
51 $this->tools->add($tool);
62 $this->tools->remove(
$name);
80 public function all() {
83 return $this->events->triggerResults(
'tool_options',
'group', [], $tool_options);
101 return $this->events->triggerResults(
'tool_options',
'group',
$params, $tool_options);
A collection of unique items.
$params
Saves global plugin settings.
if(!$user||!$user->canDelete()) $name