mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 04:57:46 +02:00
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:
parent
d3a98db6d0
commit
34be5bccab
48 changed files with 3875 additions and 2553 deletions
10
modules/Plugins/Manifest/FieldInterface.php
Normal file
10
modules/Plugins/Manifest/FieldInterface.php
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue