PageStatusButton::find()
Finds a view button by name among the defined buttons from all areas
PageStatusButton::find() 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.
PageStatusButton::find(string $name, string|null $view = null): Closure|array
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $view | stringornull |
null
|
Return types
Closureorarray
Parent class
Kirby\Panel\Ui\Buttons\PageStatusButton
inherited from Kirby\Panel\Ui\Buttons\ViewButton