Upgrade to 3.1.0
This commit is contained in:
@@ -8,6 +8,7 @@ return [
|
||||
'mixins' => [
|
||||
'empty',
|
||||
'headline',
|
||||
'help',
|
||||
'layout',
|
||||
'min',
|
||||
'max',
|
||||
|
@@ -4,7 +4,8 @@ use Kirby\Toolkit\I18n;
|
||||
|
||||
return [
|
||||
'mixins' => [
|
||||
'headline'
|
||||
'headline',
|
||||
'help'
|
||||
],
|
||||
'props' => [
|
||||
'text' => function ($text = null) {
|
||||
|
12
kirby/config/sections/mixins/help.php
Executable file
12
kirby/config/sections/mixins/help.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'props' => [
|
||||
/**
|
||||
* Sets the help text
|
||||
*/
|
||||
'help' => function ($help = null) {
|
||||
return I18n::translate($help, $help);
|
||||
}
|
||||
]
|
||||
];
|
@@ -10,6 +10,7 @@ return [
|
||||
'mixins' => [
|
||||
'empty',
|
||||
'headline',
|
||||
'help',
|
||||
'layout',
|
||||
'min',
|
||||
'max',
|
||||
|
Reference in New Issue
Block a user