l10n = $l10n; } /** * @inheritDoc */ public function getId(): string { return 'radio'; } /** * @inheritDoc */ public function getTitle(): string { return $this->l10n->t('Favorite Radio stations'); } /** * @inheritDoc */ public function getOrder(): int { return 10; } /** * @inheritDoc */ public function getIconClass(): string { return 'icon-radio'; } /** * @inheritDoc */ public function getUrl(): ?string { return \OC::$server->getURLGenerator()->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts']); } /** * @inheritDoc */ public function load(): void { \OC_Util::addScript(Application::APP_ID, Application::APP_ID . '-dashboard'); \OC_Util::addStyle(Application::APP_ID, 'dashboard'); } }