Files
lichterei-web/kirby/config/fields/mixins/userpicker.php
Bastian Allgeier 1ad1eaf387 Upgrade to 3.7.1
2022-07-12 13:33:21 +02:00

14 lines
206 B
PHP
Executable File

<?php
use Kirby\Cms\UserPicker;
return [
'methods' => [
'userpicker' => function (array $params = []) {
$params['model'] = $this->model();
return (new UserPicker($params))->toArray();
}
]
];