Commit 0c94aac5 authored by mabolek's avatar mabolek

[TASK] Removed KarmaSource domain model because it was unnecessary

parent 58292401
<?php
defined('TYPO3_MODE') or die();
$ll = 'LLL:EXT:karma/Resources/Private/Language/locallang_db.xlf:';
$tx_karma_domain_model_karmasource = [
'ctrl' => [
'title' => $ll . 'tx_karma_domain_model_karmasource',
'label' => 'title',
'hideAtCopy' => true,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'default_sortby' => 'ORDER BY title',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
],
'iconfile' => 'EXT:karma/Resources/Public/Icons/tx_karma_domain_model_karmasource.svg',
],
'interface' => [
'showRecordFieldList' => 'pid,hidden,title,code'
],
'columns' => [
'hidden' => [
'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
'default' => 0
]
],
'pid' => [
'label' => 'pid',
'config' => [
'type' => 'passthrough'
]
],
'crdate' => [
'label' => 'crdate',
'config' => [
'type' => 'passthrough',
]
],
'tstamp' => [
'label' => 'tstamp',
'config' => [
'type' => 'passthrough',
]
],
'title' => [
'exclude' => true,
'label' => $ll . 'tx_karma_domain_model_karmasource.title',
'config' => [
'type' => 'input',
'eval' => 'required,trim',
]
],
'code' => [
'exclude' => true,
'label' => $ll . 'tx_karma_domain_model_karmasource.code',
'config' => [
'type' => 'input',
'size' => 15,
'eval' => 'required,trim,alphanum,unique',
]
],
],
'types' => [
'0' => [
'showitem' => 'hidden,title,code'
],
],
];
return $tx_karma_domain_model_karmasource;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment