Allow to hide parking facilities (#93)

The ctrl configuration already existed, just the corresponding column
configuration was missing.
It is now possible to hide and unhide the records within TYPO3 as usual.

Relates: #10230
This commit is contained in:
Daniel Siepmann 2022-12-12 13:02:10 +01:00 committed by GitHub
parent bfa67d3514
commit 49fcf40bc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View file

@ -58,6 +58,21 @@ return (static function (string $extensionKey, string $tableName) {
'type' => 'passthrough', 'type' => 'passthrough',
], ],
], ],
'disable' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
[
0 => '',
1 => '',
'invertStateDisplay' => true
]
],
]
],
'title' => [ 'title' => [
'label' => $languagePath . '.title', 'label' => $languagePath . '.title',
@ -208,7 +223,7 @@ return (static function (string $extensionKey, string $tableName) {
], ],
'types' => [ 'types' => [
'0' => [ '0' => [
'showitem' => '--palette--;;language, title, description, sanitation, other_service, traffic_infrastructure, payment_accepted, distance_to_public_transport, opening_hours, special_opening_hours, offers, address, media, remote_id, --div--;' . $languagePath . '.tab.relations, town, managed_by', 'showitem' => '--palette--;;language, disable, title, description, sanitation, other_service, traffic_infrastructure, payment_accepted, distance_to_public_transport, opening_hours, special_opening_hours, offers, address, media, remote_id, --div--;' . $languagePath . '.tab.relations, town, managed_by',
], ],
], ],
]; ];

View file

@ -35,6 +35,8 @@ Features
We now also filter out the main image from other images, it will not exist twice We now also filter out the main image from other images, it will not exist twice
anymore. anymore.
* Allow to hide parking facilities.
Fixes Fixes
----- -----