Field::dialog()
Creates the routes for a field dialog This is most definitely not a good place for this method, but as long as the other classes are not fully refactored, it still feels appropriate
Field::dialog(Kirby\Cms\ModelWithContent $model, string $fieldName, string|null $path = null, string $method = 'GET')
Parameters
Name | Type | Default |
---|---|---|
$modelrequired | Kirby\Cms\ModelWithContent |
no default value |
$fieldNamerequired | string |
no default value |
$path | string ornull |
null
|
$method | string |
'GET'
|