tout doit disparaitre

This commit is contained in:
antonin gallon 2025-11-28 17:58:50 +01:00
parent 7d3d20d006
commit 3df6ff186f
7 changed files with 86 additions and 124 deletions

View file

@ -1,20 +1,16 @@
<?php
Kirby::plugin('getkirby/pluginkit', [
'fields' => [
'demo' => [
'props' => [
'value' => function ($value = null) {
$margins = Yaml::decode($value);
return [
'top' => 0,
'right' => 0,
'bottom' => 0,
'left' => 0,
...$margins
];
}
]
]
],
Kirby::plugin('studio-variable/web2print', [
'fields' => [
'web2print' => [
'props' => [
'options' => function ($options = []) {
return $options;
},
'value' => function ($value = []) {
return $value;
}
],
],
],
]);