$viewButtons->bind()
Adds data passed to view button closures
$viewButtons->bind()
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.
$viewButtons->bind(array $data): Kirby\Panel\Ui\Buttons\ViewButtons
Parameters
Name | Type | Default |
---|---|---|
$datarequired | array |
no default value |
Return type
Kirby\Panel\Ui\Buttons\ViewButtons
This method modifies the existing $viewbuttons
object it is applied to and returns it again.