new ModelButton()
new ModelButton() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
new ModelButton(ModelWithContent|null $model = null, mixed ...$attrs)
Parameters
| Name | Type | Default |
|---|---|---|
| $model | Kirby\Cms\ModelWithContentornull |
null
|
| ...$attrs | mixed |
no default value |