<?php

return [
    "type"                 => "user",
    "model"                => App\Models\User::class,
    "label"                => "App users",
    "label_singular"       => "App users",
    "group"                => "none",
    "order"                => FALSE,
    'usesContentStructure' => FALSE,
    "fields"               => [
        [
            "name"          => "name",
            "label"         => "User Name",
            "type"          => "textBox",
            "disabled"      => TRUE,
            "maxLength"     => 150,
            "multiLanguage" => FALSE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required|max:150",
            "inList"        => TRUE,
            "search"        => TRUE,
            "sort"          => FALSE,
        ],
        [
            "name"          => "email",
            "label"         => "Email",
            "type"          => "textBox",
            "disabled"      => TRUE,
            "maxLength"     => 150,
            "multiLanguage" => FALSE,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation"    => "required|max:150",
            "inList"        => TRUE,
            "search"        => TRUE,
            "sort"          => false,
        ],
    ],
    "actions"              => [
        "delete"
    ]
];
