Signed-off-by: Robin Appelman <robin@icewind.nl>pull/14347/head
parent
d7538f9a61
commit
db750898ee
@ -0,0 +1,38 @@ |
||||
<?php declare(strict_types=1); |
||||
/** |
||||
* @copyright Copyright (c) 2019 Robin Appelman <robin@icewind.nl> |
||||
* |
||||
* @license GNU AGPL version 3 or any later version |
||||
* |
||||
* This program is free software: you can redistribute it and/or modify |
||||
* it under the terms of the GNU Affero General Public License as |
||||
* published by the Free Software Foundation, either version 3 of the |
||||
* License, or (at your option) any later version. |
||||
* |
||||
* 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 |
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||
* |
||||
*/ |
||||
|
||||
namespace OCP\Group\Backend; |
||||
|
||||
/** |
||||
* @since 16.0.0 |
||||
* |
||||
* Allow the backend to mark groups to be excluded from being shown in search dialogs |
||||
*/ |
||||
interface IHideFromCollaborationBackend { |
||||
/** |
||||
* Check if a group should be hidden from search dialogs |
||||
* |
||||
* @param string $groupId |
||||
* @return bool |
||||
* @since 16.0.0 |
||||
*/ |
||||
public function hideGroup(string $groupId): bool; |
||||
} |
||||
Loading…
Reference in new issue