diff options
author | Robin Appelman <robin@icewind.nl> | 2020-08-05 15:57:51 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-08-05 16:13:03 +0200 |
commit | 227e362842a2340591608d6cb209e46a817f3403 (patch) | |
tree | d9a3a22b6f5298b1e433b7f79f603daff7ab5aa2 /lib/public/Activity | |
parent | a4d511d82767f54af086b366a6c08bc927cb870c (diff) | |
download | nextcloud-server-227e362842a2340591608d6cb209e46a817f3403.tar.gz nextcloud-server-227e362842a2340591608d6cb209e46a817f3403.zip |
allow grouping of activity settings
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Activity')
-rw-r--r-- | lib/public/Activity/ActivitySettings.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/Activity/ActivitySettings.php b/lib/public/Activity/ActivitySettings.php index 98b95061cd7..c7d1ca81fef 100644 --- a/lib/public/Activity/ActivitySettings.php +++ b/lib/public/Activity/ActivitySettings.php @@ -40,6 +40,18 @@ abstract class ActivitySettings implements ISetting { abstract public function getName(); /** + * @return string Lowercase a-z and underscore only group identifier + * @since 20.0.0 + */ + abstract public function getGroupIdentifier(); + + /** + * @return string A translated string for the settings group + * @since 20.0.0 + */ + abstract public function getGroupName(); + + /** * @return int whether the filter should be rather on the top or bottom of * the admin section. The filters are arranged in ascending order of the * priority values. It is required to return a value between 0 and 100. |