Details
-
Story
-
Resolution: Obsolete
-
High
-
None
-
2.3.1
-
None
Description
When inspecting the configuration for ezplatform_page_fieldtype with php bin/console debug:config ezplatform_page_fieldtype on the EE demo, some views are listed with numerical keys:
ezplatform_page_fieldtype: blocks: embed: configuration_template: '@EzPlatformPageBuilder/page_builder/block/config/embed.html.twig' thumbnail: bundles/ezplatformpagefieldtype/images/thumbnails/embed.svg name: Embed category: default views: default: name: 'Default block layout' template: 'EzPlatformPageFieldTypeBundle:blocks:embed.html.twig' options: { } 0: template: '@ezdesign/blocks/embed.html.twig' name: 'Platform EE Demo embed block' options: { } 1: template: '@ezdesign/blocks/embed_wide.html.twig' name: 'Platform EE Demo wide embed block' options: { }
The two views with the keys 0 and 1 are set in app/config/default_layouts.yml, with real identifiers:
embed: views: embed: template: '@ezdesign/blocks/embed.html.twig' name: 'Platform EE Demo embed block' embed_wide: template: '@ezdesign/blocks/embed_wide.html.twig' name: 'Platform EE Demo wide embed block'
I expect them to be listed in debug:config with their actual identifiers. I don't know if it does or not have consequences on the application itself, but it may.