Skip to content

Kirby 6.0.0

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

Parent class

Kirby\Panel\Ui\Button\ModelButton