<?php

    return [
        "type"           => "dictionaryItems",
        "model"          => App\Models\DictionaryItem::class,
        "label"          => "Dictionary Items",
        "label_singular" => "Dictionary Item",
        "group"          => "content types",
        "order"          => TRUE,
        "fields"         => [
            [
                "name"          => "title",
                "label"         => "Title",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ],
            [
                "name"          => "description",
                "label"         => "Description",
                "type"          => "editor",
                "multiLanguage" => TRUE,
                "preValidation" => "xss_clean|trim",
                "validation"    => "",
            ],
        ],
        "actions"        => [
            "edit", "insert", "delete"
        ]
    ];
