<?php

    return [
        "type"           => "simple_content",
        "model"          => App\Models\SimpleContent::class,
        "label"          => "Simple Contents",
        "label_singular" => "Simple Content",
        "group"          => "none",
        "order"          => FALSE,
        "fields"         => [
            [
                "name"          => "title",
                "label"         => "Reference Title",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ],
            [
                "name"          => "content_title",
                "label"         => "Public Title",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ],
            [
                "name"          => "content",
                "label"         => "Content",
                "type"          => "editor",
                "multiLanguage" => TRUE,
                "preValidation" => "xss_clean|trim",
                "validation"    => ""
            ],
        ],
        "actions"        => [
            "edit", "order", "insert", "delete"
        ]
    ];
