PersonalSettings.php 590 B

123456789101112131415161718192021222324252627
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files\Settings;
  8. use OCA\Files\AppInfo\Application;
  9. use OCP\AppFramework\Http\TemplateResponse;
  10. use OCP\Settings\ISettings;
  11. class PersonalSettings implements ISettings {
  12. public function getForm(): TemplateResponse {
  13. return new TemplateResponse(Application::APP_ID, 'settings-personal');
  14. }
  15. public function getSection(): string {
  16. return 'sharing';
  17. }
  18. public function getPriority(): int {
  19. return 90;
  20. }
  21. }