---
title: "Alias ViewHelper <f:alias>"
manual: "Fluid ViewHelper Reference"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3fluid-fluid-alias@main"
source: "Global/Alias.rst"
modified: "2026-09-17T05:12:06+00:00"
---

# Alias ViewHelper `<f:alias>`

Declares new variables which are aliases of other variables.
Takes a "map"-Parameter which is an associative array which defines the shorthand mapping.

The variables are only declared inside the `<f:alias>...</f:alias>` tag. After the
closing tag, all declared variables are removed again.

Using this ViewHelper can be a sign of weak architecture. If you end up
using it extensively you might want to fine-tune your "view model" (the
data you assign to the view).

Go to the source code of this ViewHelper: [AliasViewHelper.php (GitHub)](https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/AliasViewHelper.php).

## Arguments of the `<f:alias>` ViewHelper

-   **map**

    -   *Type:* array
    -   *Required:* true

    Array that specifies which variables should be mapped to which alias
