1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/home/kevin/Documents/Sites/hehe.net/user/plugins/admin/blueprints/admin/pages/new_folder.yaml',
- 'modified' => 1546440944,
- 'data' => [
- 'rules' => [
- 'slug' => [
- 'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
- 'min' => 1,
- 'max' => 200
- ]
- ],
- 'form' => [
- 'validation' => 'loose',
- 'fields' => [
- 'section' => [
- 'type' => 'section',
- 'title' => 'PLUGIN_ADMIN.ADD_FOLDER'
- ],
- 'folder' => [
- 'type' => 'text',
- 'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
- 'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
- 'validate' => [
- 'rule' => 'slug',
- 'required' => true
- ]
- ],
- 'route' => [
- 'type' => 'parents',
- 'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
- 'classes' => 'fancy',
- 'validate' => [
- 'required' => true
- ]
- ],
- 'blueprint' => [
- 'type' => 'blueprint'
- ]
- ]
- ]
- ]
- ];
|