admin init command
This commit is contained in:
@ -4,16 +4,22 @@ namespace kernel\modules\option\models\forms;
|
||||
|
||||
use kernel\FormModel;
|
||||
|
||||
/**
|
||||
* @property string $key
|
||||
* @property string $value
|
||||
* @property string $label
|
||||
* @property integer $status
|
||||
*/
|
||||
class CreateOptionForm extends FormModel
|
||||
{
|
||||
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'admin_theme_paths' => '',
|
||||
'active_admin_theme' => '',
|
||||
'module_paths' => '',
|
||||
'active_modules' => ''
|
||||
'key' => 'required|min-str-len:1|max-str-len:50',
|
||||
'value' => '',
|
||||
'label' => '',
|
||||
'status' => ''
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user