0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-16 09:14:07 +00:00
nextcloud_server/apps/settings/lib/Sections/Admin/Overview.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
708 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Settings\Sections\Admin;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;
class Overview implements IIconSection {
public function __construct(
private IL10N $l,
private IURLGenerator $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;
}
}