From 4fdc822ae358fac96c49182ce514bc459e97314d Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Mon, 30 Sep 2024 09:17:59 +0200 Subject: [PATCH] [BUGFIX] Use explicit keys in items configuration --- Configuration/TCA/Overrides/pages.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index 1091bdf2..1b367ba8 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -6,19 +6,19 @@ $_LLL_db = 'LLL:EXT:cart/Resources/Private/Language/locallang_db.xlf:'; $GLOBALS['TCA']['pages']['columns']['doktype']['config']['items'][] = [ - $_LLL_db . 'pages.doktype.181', - 181, - 'apps-pagetree-page-cart-cart', + 'label' => $_LLL_db . 'pages.doktype.181', + 'value' => 181, + 'icon' => 'apps-pagetree-page-cart-cart', ]; $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [ - $_LLL_db . 'tcarecords-pages-contains.cart_coupons', - 'coupons', - 'apps-pagetree-folder-cart-coupons', + 'label' => $_LLL_db . 'tcarecords-pages-contains.cart_coupons', + 'value' => 'coupons', + 'icon' => 'apps-pagetree-folder-cart-coupons', ]; $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [ - $_LLL_db . 'tcarecords-pages-contains.cart_orders', - 'orders', - 'apps-pagetree-folder-cart-orders', + 'label' => $_LLL_db . 'tcarecords-pages-contains.cart_orders', + 'value' => 'orders', + 'icon' => 'apps-pagetree-folder-cart-orders', ]; $GLOBALS['TCA']['pages']['ctrl']['typeicon_classes'][181] = 'apps-pagetree-page-cart-cart';