You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

67 lines
2.1 KiB

<?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 [
'ctrl' => [
'title' => 'LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_solrcores',
'label' => 'label',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'default_sortby' => 'ORDER BY label',
'delete' => 'deleted',
'iconfile' => 'EXT:dlf/Resources/Public/Icons/txdlfsolrcores.png',
'rootLevel' => -1,
'dividers2tabs' => 2,
'searchFields' => 'label,index_name',
],
'feInterface' => [
'fe_admin_fieldList' => '',
],
'interface' => [
'showRecordFieldList' => 'label,index_name',
],
'columns' => [
'label' => [
'label' => 'LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_solrcores.label',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
'eval' => 'required,trim',
'default' => '',
],
],
'index_name' => [
'label' => 'LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_solrcores.index_name',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
'eval' => 'alphanum,nospace,required,unique',
'default' => '',
'readOnly' => true,
'fieldWizard' => [
'solrCoreStatus' => [
'renderType' => 'solrCoreStatus',
],
],
],
],
],
'types' => [
'0' => ['showitem' => '--div--;LLL:EXT:dlf/Resources/Private/Language/Labels.xml:tx_dlf_solrcores.tab1,label,index_name'],
],
'palettes' => [
'1' => ['showitem' => ''],
],
];