<?php
return [
    '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
    'filename' => '/var/www/incms-scrape/steeger-grav/system/blueprints/user/group.yaml',
    'modified' => 1793546196,
    'size' => 1759,
    'data' => [
        'title' => 'Group',
        'rules' => [
            'slug' => [
                'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
                'min' => 1,
                'max' => 200
            ]
        ],
        'form' => [
            'validation' => 'loose',
            'fields' => [
                'groupname' => [
                    'type' => 'text',
                    'size' => 'large',
                    'label' => 'PLUGIN_ADMIN.GROUP_NAME',
                    'flex-disabled@' => 'exists',
                    'flex-readonly@' => 'exists',
                    'validate' => [
                        'required' => true,
                        'rule' => 'slug'
                    ]
                ],
                'readableName' => [
                    'type' => 'text',
                    'size' => 'large',
                    'label' => 'PLUGIN_ADMIN.DISPLAY_NAME'
                ],
                'description' => [
                    'type' => 'text',
                    'size' => 'large',
                    'label' => 'PLUGIN_ADMIN.DESCRIPTION'
                ],
                'icon' => [
                    'type' => 'text',
                    'size' => 'small',
                    'label' => 'PLUGIN_ADMIN.ICON'
                ],
                'enabled' => [
                    'security@' => 'admin.super',
                    'type' => 'toggle',
                    'label' => 'PLUGIN_ADMIN.ENABLED',
                    'highlight' => 1,
                    'default' => 1,
                    'options' => [
                        1 => 'PLUGIN_ADMIN.YES',
                        0 => 'PLUGIN_ADMIN.NO'
                    ],
                    'validate' => [
                        'type' => 'bool'
                    ]
                ],
                'access' => [
                    'security@' => 'admin.super',
                    'type' => 'permissions',
                    'check_authorize' => false,
                    'label' => 'PLUGIN_ADMIN.PERMISSIONS',
                    'ignore_empty' => true,
                    'validate' => [
                        'type' => 'array',
                        'value_type' => 'bool'
                    ]
                ]
            ]
        ]
    ]
];
