new ViewButtons()
new ViewButtons() 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 ViewButtons(array|false|null $buttons = null, string|null $view = null, ModelWithContent|Language|null $model = null, array $data = [])
Parameters
| Name | Type | Default |
|---|---|---|
| $buttons | arrayorfalseornull |
null
|
| $view | stringornull |
null
|
| $model | Kirby\Cms\ModelWithContentorKirby\Cms\Languageornull |
null
|
| $data | array |
[]
|