11<?php
22
3+ /*
4+ * This source file is available under two different licenses:
5+ * - GNU General Public License version 3 (GPLv3)
6+ * - DACHCOM Commercial License (DCL)
7+ * Full copyright and license information is available in
8+ * LICENSE.md which is distributed with this source code.
9+ *
10+ * @copyright Copyright (c) DACHCOM.DIGITAL AG (https://www.dachcom-digital.com)
11+ * @license GPLv3 and DCL
12+ */
13+
314namespace ToolboxBundle \Builder ;
415
516use Pimcore \Model \Document \Editable \Area \Info ;
@@ -29,7 +40,6 @@ public function buildInlineConfiguration(Info $info, string $brickId, array $are
2940 $ items = $ this ->parseConfigElements ($ info , $ brickId , $ themeOptions , $ inlineConfigElements , [], false );
3041
3142 foreach ($ items as $ item ) {
32-
3343 $ headlessInfo = $ this ->editableInfoFactory ->createViaBrick ($ info , $ editMode , $ item );
3444 $ renderedEditable = $ this ->headlessEditableRenderer ->buildEditable ($ headlessInfo );
3545
@@ -52,7 +62,6 @@ public function buildInlineConfigurationData(Info $info, string $brickId, array
5262 $ inlineConfigElements = $ areaConfig ['inline_config_elements ' ] ?? [];
5363
5464 foreach ($ inlineConfigElements as $ itemName => $ item ) {
55-
5665 $ item ['name ' ] = $ itemName ;
5766
5867 $ headlessInfo = $ this ->editableInfoFactory ->createViaBrick ($ info , false , $ item );
0 commit comments