Files
nextcloud-workflow-deck-aut…/lib/Settings/PersonalSection.php
T
Patrick Niebeling 43648f3728 Use app.svg for the personal settings section icon
Was already pending in the working tree; committed unchanged.
2026-08-25 15:28:21 +02:00

35 lines
685 B
PHP

<?php
declare(strict_types=1);
namespace OCA\WorkflowDeckAutomation\Settings;
use OCA\WorkflowDeckAutomation\AppInfo\Application;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;
class PersonalSection implements IIconSection {
public function __construct(
private IL10N $l10n,
private IURLGenerator $urlGenerator,
) {
}
public function getID(): string {
return Application::APP_ID;
}
public function getName(): string {
return $this->l10n->t('Deck workflow automation');
}
public function getPriority(): int {
return 50;
}
public function getIcon(): string {
return $this->urlGenerator->imagePath(Application::APP_ID, 'app.svg');
}
}