.. This reStructured text file has been automatically generated, do not change. .. Source: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/ViewHelpers/NormalizedUrlViewHelper.php :edit-on-github-link: https://github.com/TYPO3/typo3/edit/main/typo3/sysext/core/Classes/ViewHelpers/NormalizedUrlViewHelper.php :navigation-title: normalizedUrl .. include:: /Includes.rst.txt .. _typo3-core-normalizedurl: =============================================== NormalizedUrl ViewHelper `` =============================================== .. note:: This ViewHelper is not available by default. :ref:`Import its namespace ` :fluid:`{namespace core=TYPO3\CMS\Core\ViewHelpers\}` in the Fluid file or :fluid:`xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers/"` in the opening HTML tag. Normalizes a path that uses EXT: syntax or an absolute URL to an absolute web path Examples ======== Url:: Output:: https://foo.bar/img.jpg Path:: Output:: /typo3/sysext/core/Resources/Public/Images/typo3_black.svg .. _typo3-core-normalizedurl_source: Source code =========== Go to the source code of this ViewHelper: `NormalizedUrlViewHelper.php (GitHub) `__. .. _typo3-core-normalizedurl_arguments: Arguments ========= The following arguments are available for ``: .. confval-menu:: :display: table :type: :default: .. _typo3-core-normalizedurl-pathorurl_argument: .. confval:: pathOrUrl :name: typo3-core-normalizedurl-pathorurl :type: string :required: false Absolute path to file using EXT: syntax or URL.