Files
VITEC-website/packages/vitec/Configuration/TCA/tx_vitec_form_submission.php

42 lines
1.3 KiB
PHP
Executable File

<?php
return [
'ctrl' => [
'title' => 'VITEC Form Submission',
'label' => 'form_key',
'label_alt' => 'delivery_status',
'label_alt_force' => true,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'default_sortby' => 'crdate DESC',
'rootLevel' => 1,
'readOnly' => true,
'iconfile' => 'EXT:vitec/Resources/Public/Icons/vitec-plugin-contactform.svg',
'security' => ['ignorePageTypeRestriction' => true],
],
'types' => [
'1' => ['showitem' => 'form_key, delivery_method, delivery_status, delivery_error, payload'],
],
'columns' => [
'form_key' => [
'label' => 'Form',
'config' => ['type' => 'input', 'readOnly' => true],
],
'payload' => [
'label' => 'Data (JSON)',
'config' => ['type' => 'text', 'rows' => 12, 'readOnly' => true],
],
'delivery_method' => [
'label' => 'Delivery',
'config' => ['type' => 'input', 'readOnly' => true],
],
'delivery_status' => [
'label' => 'Status',
'config' => ['type' => 'input', 'readOnly' => true],
],
'delivery_error' => [
'label' => 'Delivery Error',
'config' => ['type' => 'text', 'rows' => 3, 'readOnly' => true],
],
],
];