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
This commit is contained in:
Yassine Doghri 2024-12-23 15:35:47 +00:00
commit 34be5bccab
48 changed files with 3875 additions and 2553 deletions

View file

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