You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
716 B
39 lines
716 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CoreBundle\Tool;
|
|
|
|
use Chamilo\CoreBundle\Entity\Usergroup as UsergroupEntity;
|
|
|
|
class UserGroup extends AbstractTool implements ToolInterface
|
|
{
|
|
public function getName(): string
|
|
{
|
|
return 'usergroup';
|
|
}
|
|
|
|
public function getCategory(): string
|
|
{
|
|
return 'admin';
|
|
}
|
|
|
|
public function getIcon(): string
|
|
{
|
|
return 'mdi-account-group';
|
|
}
|
|
|
|
public function getLink(): string
|
|
{
|
|
return '/resources/usergroup/';
|
|
}
|
|
|
|
public function getResourceTypes(): ?array
|
|
{
|
|
return [
|
|
'usergroups' => UsergroupEntity::class,
|
|
];
|
|
}
|
|
}
|
|
|