Files
cms-core/Documentation/Changelog/14.2/Feature-108846-ConsoleCommandToInspectGlobalViewHelperNamespaces.rst

50 lines
1.4 KiB
ReStructuredText

.. include:: /Includes.rst.txt
.. _feature-108846-1770196894:
==========================================================================
Feature: #108846 - Console command to inspect global ViewHelper namespaces
==========================================================================
See :issue:`108846`
Description
===========
The new console command `typo3 fluid:namespaces` has been introduced. It
lists all the available global ViewHelper namespaces in the current project and
can be used to verify the current configuration. The `--json` option
can be used to access the information in a machine-readable way.
Usage:
.. code-block:: bash
vendor/bin/typo3 fluid:namespaces
Example output:
.. code-block::
+--------+------------------------------+
| Alias | Namespace(s) |
+--------+------------------------------+
| core | TYPO3\CMS\Core\ViewHelpers |
+--------+------------------------------+
| formvh | TYPO3\CMS\Form\ViewHelpers |
+--------+------------------------------+
| f | TYPO3Fluid\Fluid\ViewHelpers |
| | TYPO3\CMS\Fluid\ViewHelpers |
+--------+------------------------------+
The same information is available in the
:guilabel:`System > Configuration` module in the TYPO3 backend.
Impact
======
The new console command allows developers and integrators to inspect
global ViewHelper namespaces in the current project.
.. index:: CLI, Fluid, ext:fluid