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(!elgg_get_config('trash_enabled')) $group
A collection of unique items.
$params
Saves global plugin settings.
if(!$user||!$user->canDelete()) $name
if($who_can_change_language=== 'nobody') elseif($who_can_change_language=== 'admin_only'&&!elgg_is_admin_logged_in()) $options