downgrade to kirby v3
This commit is contained in:
@@ -7,9 +7,6 @@ return [
|
||||
'headline',
|
||||
],
|
||||
'props' => [
|
||||
'icon' => function (string $icon = null) {
|
||||
return $icon;
|
||||
},
|
||||
'text' => function ($text = null) {
|
||||
return I18n::translate($text, $text);
|
||||
},
|
||||
@@ -28,10 +25,9 @@ return [
|
||||
],
|
||||
'toArray' => function () {
|
||||
return [
|
||||
'icon' => $this->icon,
|
||||
'label' => $this->headline,
|
||||
'text' => $this->text,
|
||||
'theme' => $this->theme
|
||||
'headline' => $this->headline,
|
||||
'text' => $this->text,
|
||||
'theme' => $this->theme
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user