---
title: "Expression Language"
manual: "TYPO3 REST API"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/sourcebroker/t3api:customization-expression-language@5.0"
source: "Customization/ExpressionLanguage/Index.rst"
rendered: "2026-12-02T10:02:23+00:00"
---

# Expression Language {#customization-expression-language}

[Symfony expression language](https://github.com/symfony/expression-language) is [widely used in TYPO3 core](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SymfonyExpressionLanguage/Index.html). T3api also uses it in two places:

-   [Serialization (and deserialization)](https://docs.typo3.org/permalink/sourcebroker/t3api:serialization@5.0)
-   [Security (checking access to operations and filters)](https://docs.typo3.org/permalink/sourcebroker/t3api:security@5.0)

T3api utilizes TYPO3 core expression language feature. So, if you would like to extend expression language used in t3api core, you need to register new provider in [the same way as you do it e.g. for TS](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SymfonyExpressionLanguage/Index.html#registering-new-provider-within-an-extension). Just notice that appropriate context has to be specified as array key (in this case it's `t3api`). Code below shows how to register `MyCustomProvider` in `t3api` context.

**EXT:my_ext/Configuration/ExpressionLanguage.php**

```php
return [
     't3api' => [
         \Vendor\MyExt\ExpressionLanguage\MyCustomProvider::class,
     ],
];
```

After registration of custom provider follow TYPO3 documentation how to [add additional variables](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SymfonyExpressionLanguage/Index.html#additional-variables) and [additional functions](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SymfonyExpressionLanguage/Index.html#additional-functions) into expression language. Now you can use your custom variables and functions inside t3api security check or serialization and deserialization expressions.
