---
title: "Target"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:typo3-request-attribute-target@main"
source: "ApiOverview/RequestLifeCycle/RequestAttributes/Target.rst"
rendered: "2026-09-30T05:33:23+00:00"
---

# Target {#typo3-request-attribute-target}

The `target` backend request attribute provides the target action of a
backend route. For instance, the target of the **Content > Records** module
is set to `\TYPO3\CMS\Recordlist\Controller\RecordListController::mainAction`.

Example:

```php
$target = $request->getAttribute('target');
```
