Skip to content

Kirby 5.0.4

SettingsButton::normalize()

Transforms an array to be used as named arguments in the constructor

SettingsButton::normalize() 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.

SettingsButton::normalize(array $button): array

Parameters

Name Type Default
$buttonrequired array no default value

Return type

array

Parent class

Kirby\Panel\Ui\Buttons\SettingsButton inherited from Kirby\Panel\Ui\Buttons\ViewButton