123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- declare(strict_types=1);
- namespace OCA\Settings\Sections\Admin;
- use OCP\IL10N;
- use OCP\IURLGenerator;
- use OCP\Settings\IIconSection;
- class Overview implements IIconSection {
-
- private $l;
-
- private $urlGenerator;
- public function __construct(IL10N $l, IURLGenerator $urlGenerator) {
- $this->l = $l;
- $this->urlGenerator = $urlGenerator;
- }
- public function getIcon(): string {
- return $this->urlGenerator->imagePath('settings', 'admin.svg');
- }
- public function getID(): string {
- return 'overview';
- }
- public function getName(): string {
- return $this->l->t('Overview');
- }
- public function getPriority(): int {
- return 0;
- }
- }
|