Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Composer dump Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Add field array to template class Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>pull/46383/head
parent
ea7eeb2867
commit
d939858e3d
@ -0,0 +1,18 @@ |
||||
<?php |
||||
|
||||
/** |
||||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors |
||||
* SPDX-License-Identifier: AGPL-3.0-or-later |
||||
*/ |
||||
|
||||
namespace OCP\Files\Template; |
||||
|
||||
use OCP\Files\Template\FieldType; |
||||
|
||||
class Field { |
||||
public FieldType $type; |
||||
|
||||
public function __construct(FieldType $type) { |
||||
$this->type = $type; |
||||
} |
||||
} |
@ -0,0 +1,12 @@ |
||||
<?php |
||||
|
||||
/** |
||||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors |
||||
* SPDX-License-Identifier: AGPL-3.0-or-later |
||||
*/ |
||||
|
||||
namespace OCP\Files\Template; |
||||
|
||||
enum FieldType { |
||||
case PlainText; |
||||
} |
Loading…
Reference in new issue