From bdce438837f99c7e0b0d518419b7871a2c16bd2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <typo3@krue.ml> Date: Wed, 19 Feb 2020 14:16:31 +0100 Subject: [PATCH] [DOCS] Remove obsolete debugging hint With Feature #90052 the parsed YAML configuration can be viewed in the Configuration module. A tip is already available on the top of the page. The hint about manual debugging is therefore obsolete and can be removed. Resolves: #90432 Related: #90052 Releases: master Change-Id: Iff3e1ae0e15a30e679e8ca29fb5e54714d21f925 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63320 Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Daniel Siepmann <coding@daniel-siepmann.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Daniel Siepmann <coding@daniel-siepmann.de> --- .../I/Concepts/Configuration/Index.rst | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/typo3/sysext/form/Documentation/I/Concepts/Configuration/Index.rst b/typo3/sysext/form/Documentation/I/Concepts/Configuration/Index.rst index 01d9ad0d3af1..e210d876afad 100644 --- a/typo3/sysext/form/Documentation/I/Concepts/Configuration/Index.rst +++ b/typo3/sysext/form/Documentation/I/Concepts/Configuration/Index.rst @@ -380,22 +380,6 @@ This element inherits its definition from the ``RadioButton`` element but additionally ships four predefined options. Without any problems, the new element can be used and overridden within the ``form definition``. -.. hint:: - - Currently, there is no built-in solution within the TYPO3 core to - preview the resulting/ final EXT:form YAML configuration. If you want - to check the configuration, there is a fishy way which you should never - implement on a production system. - - Open the file ``typo3/sysext/form/Classes/Mvc/Configuration/ConfigurationManager.php::getConfigurationFromYamlFile()`` - and add the following code before the ``return`` statement:: - - \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($yamlSettings, 'form configuration', 9999); - - Now open the ``Forms`` module in the backend or navigate to a page in - the frontend which contains a form. The DebuggerUtility will print the - final configuration directly to the screen. - It will probably take some time to fully understand the awesomeness of this operator. If you are eager to learn more about this great instrument, check out the unit tests defined in ``EXT:form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php``. -- GitLab