<?php

return [
    'ctrl' => [
        'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension',
        'label' => 'uid',
        'default_sortby' => '',
        'hideTable' => true,
        'rootLevel' => 1,
        'adminOnly' => true,
        'typeicon_classes' => [
            'default' => 'empty-icon',
        ],
    ],
    'columns' => [
        'extension_key' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.extensionkey',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'version' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.version',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'alldownloadcounter' => [
            'config' => [
                'type' => 'passthrough',
            ],
        ],
        'integer_version' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.integerversion',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'title' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.title',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'description' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.description',
            'config' => [
                'type' => 'text',
                'cols' => 30,
                'rows' => 5,
            ],
        ],
        'state' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.state',
            'config' => [
                'type' => 'number',
                'size' => 30,
                'range' => ['lower' => 0, 'upper' => 1000],
            ],
        ],
        'category' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.category',
            'config' => [
                'type' => 'number',
                'size' => 30,
                'range' => ['lower' => 0, 'upper' => 1000],
            ],
        ],
        'last_updated' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.lastupdated',
            'config' => [
                'type' => 'datetime',
            ],
        ],
        'update_comment' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.updatecomment',
            'config' => [
                'type' => 'text',
                'cols' => 30,
                'rows' => 5,
            ],
        ],
        'author_name' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.authorname',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'author_email' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.authoremail',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'current_version' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.currentversion',
            'config' => [
                'type' => 'check',
                'size' => 1,
            ],
        ],
        'review_state' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.reviewstate',
            'config' => [
                'type' => 'check',
                'size' => 1,
            ],
        ],
        'md5hash' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.md5hash',
            'config' => [
                'type' => 'input',
                'size' => 1,
            ],
        ],
        'serialized_dependencies' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.serializedDependencies',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
        'documentation_link' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.documentation_link',
            'config' => [
                'type' => 'input',
            ],
        ],
        'distribution_image' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.distribution_image',
            'config' => [
                'type' => 'input',
            ],
        ],
        'distribution_welcome_image' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.distribution_welcome_image',
            'config' => [
                'type' => 'input',
            ],
        ],
        'remote' => [
            'label' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension.remote',
            'config' => [
                'type' => 'input',
                'size' => 30,
            ],
        ],
    ],
    'types' => [
        '0' => ['showitem' => 'extensionkey, version, integer_version, title, description, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash, serialized_dependencies, documentation_link, distribution_image, distribution_welcome_image'],
    ],
    'palettes' => [
        '1' => ['showitem' => ''],
    ],
];
