FileActivitySettings.php 538 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files\Activity\Settings;
  8. use OCP\Activity\ActivitySettings;
  9. use OCP\IL10N;
  10. abstract class FileActivitySettings extends ActivitySettings {
  11. /**
  12. * @param IL10N $l
  13. */
  14. public function __construct(
  15. protected IL10N $l,
  16. ) {
  17. }
  18. public function getGroupIdentifier() {
  19. return 'files';
  20. }
  21. public function getGroupName() {
  22. return $this->l->t('Files');
  23. }
  24. }