123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace OCA\WorkflowEngine\Settings;
- use OCA\WorkflowEngine\AppInfo\Application;
- use OCP\IL10N;
- use OCP\IURLGenerator;
- use OCP\Settings\IIconSection;
- class Section implements IIconSection {
-
- public function __construct(
- private IURLGenerator $url,
- private IL10N $l,
- ) {
- }
-
- public function getID() {
- return 'workflow';
- }
-
- public function getName() {
- return $this->l->t('Flow');
- }
-
- public function getPriority() {
- return 55;
- }
-
- public function getIcon() {
- return $this->url->imagePath(Application::APP_ID, 'app-dark.svg');
- }
- }
|