castopod/modules/Plugins/Manifest/FieldInterface.php
Yassine Doghri 34be5bccab refactor(plugins): create Field objects per field type in settings forms + handle rendering in class
update manifest.schema.json to have defaultValue type differ based on field type
2024-12-23 15:35:47 +00:00

11 lines
183 B
PHP

<?php
declare(strict_types=1);
namespace Modules\Plugins\Manifest;
interface FieldInterface
{
public function render(string $name, mixed $value, string $class = ''): string;
}