Upgrade to 3.1.0

This commit is contained in:
Bastian Allgeier
2019-03-19 11:07:14 +01:00
parent 418db4b09b
commit 6e074142f1
98 changed files with 1266 additions and 299 deletions

View File

@@ -8,6 +8,7 @@ return [
'mixins' => [
'empty',
'headline',
'help',
'layout',
'min',
'max',

View File

@@ -4,7 +4,8 @@ use Kirby\Toolkit\I18n;
return [
'mixins' => [
'headline'
'headline',
'help'
],
'props' => [
'text' => function ($text = null) {

View File

@@ -0,0 +1,12 @@
<?php
return [
'props' => [
/**
* Sets the help text
*/
'help' => function ($help = null) {
return I18n::translate($help, $help);
}
]
];

View File

@@ -10,6 +10,7 @@ return [
'mixins' => [
'empty',
'headline',
'help',
'layout',
'min',
'max',