1
0

PersonalSettings.php 665 B

1234567891011121314151617181920212223242526272829
  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. use OCP\Util;
  12. class PersonalSettings implements ISettings {
  13. public function getForm(): TemplateResponse {
  14. Util::addScript(Application::APP_ID, 'settings-personal');
  15. return new TemplateResponse(Application::APP_ID, 'settings-personal');
  16. }
  17. public function getSection(): string {
  18. return 'sharing';
  19. }
  20. public function getPriority(): int {
  21. return 90;
  22. }
  23. }