tout doit disparaitre
This commit is contained in:
parent
7d3d20d006
commit
3df6ff186f
7 changed files with 86 additions and 124 deletions
|
|
@ -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;
|
||||
}
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue