<?php

    return [
        "type"           => "authors",
        "model"          => App\Models\Author::class,
        "label"          => "Autores",
        "label_singular" => "Autor",
        "hierarchic"     => FALSE,
        "group"          => "taxonomias",
        "order"          => TRUE,
        "fields"         => [
            [
                "name"          => "title",
                "label"         => "Autor",
                "type"          => "textBox",
                "maxLength"     => 150,
                "multiLanguage" => TRUE,
                "preValidation" => "strip_tags|xss_clean|trim",
                "validation"    => "required|max:150",
                "inList"        => TRUE,
                "search"        => TRUE,
                "sort"          => TRUE
            ]
        ],
        "actions"        => [
            "order", "preview"
        ]
    ];
