diff options
author | Johannes Leuker <j.leuker@hosting.de> | 2021-02-09 14:50:38 +0100 |
---|---|---|
committer | Johannes Leuker <j.leuker@hosting.de> | 2021-03-01 16:02:08 +0100 |
commit | 2796ef80ff53684c6b276b054bb2d3b6039a4ef6 (patch) | |
tree | 29336019d1ad40fedae19f39ca67da5455ae2266 /lib/public/Group | |
parent | 9fd72b0d3a4ebfad2291a18aefc51e999fbb0744 (diff) | |
download | nextcloud-server-2796ef80ff53684c6b276b054bb2d3b6039a4ef6.tar.gz nextcloud-server-2796ef80ff53684c6b276b054bb2d3b6039a4ef6.zip |
Show group backends in occ group:list --info and group:info
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
Diffstat (limited to 'lib/public/Group')
-rw-r--r-- | lib/public/Group/Backend/INamedBackend.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/public/Group/Backend/INamedBackend.php b/lib/public/Group/Backend/INamedBackend.php new file mode 100644 index 00000000000..b6aaea328c4 --- /dev/null +++ b/lib/public/Group/Backend/INamedBackend.php @@ -0,0 +1,36 @@ +<?php +/** + * @copyright Copyright (c) 2021, hosting.de, Johannes Leuker <j.leuker@hosting.de>. + * + * @author Johannes Leuker <j.leuker@hosting.de>. + * + * @license AGPL-3.0 + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License, version 3, + * along with this program. If not, see <http://www.gnu.org/licenses/> + * + */ + +namespace OCP\Group\Backend; + +/** + * @since 22.0.0 + */ +interface INamedBackend { + + /** + * Backend name to be shown in group management + * @return string the name of the backend to be shown + * @since 22.0.0 + */ + public function getBackendName(): string; +} |