<?php
/**
 * (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
 *
 * This file is part of the Kitodo and TYPO3 projects.
 *
 * @license GNU General Public License version 3 or later.
 * For the full copyright and license information, please read the
 * LICENSE.txt file that was distributed with this source code.
 */

return array (
    'ctrl' => array (
        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats',
        'label'     => 'type',
        'tstamp'    => 'tstamp',
        'crdate'    => 'crdate',
        'cruser_id' => 'cruser_id',
        'default_sortby' => 'ORDER BY type',
        'delete'	=> 'deleted',
        'iconfile'	=> 'EXT:dlf/res/icons/txdlfformats.png',
        'rootLevel'	=> 1,
        'dividers2tabs' => 2,
        'searchFields' => 'type,class',
    ),
    'feInterface' => array (
        'fe_admin_fieldList' => '',
    ),
    'interface' => array (
        'showRecordFieldList' => 'type,class',
    ),
    'columns' => array (
        'type' => array (
            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type',
            'config' => array (
                'type' => 'input',
                'size' => 30,
                'max' => 255,
                'eval' => 'required,nospace,alphanum_x,unique',
            ),
        ),
        'root' => array (
            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root',
            'config' => array (
                'type' => 'input',
                'size' => 30,
                'max' => 255,
                'eval' => 'required,nospace,alphanum_x,unique',
            ),
        ),
        'namespace' => array (
            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace',
            'config' => array (
                'type' => 'input',
                'size' => 30,
                'max' => 255,
                'eval' => 'required,nospace',
            ),
        ),
        'class' => array (
            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class',
            'config' => array (
                'type' => 'input',
                'size' => 30,
                'max' => 255,
                'eval' => 'nospace,alphanum_x',
            ),
        ),
    ),
    'types' => array (
        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'),
    ),
    'palettes' => array (
        '1' => array ('showitem' => ''),
    ),
);
