ReturnUrl

readonly class \TYPO3\CMS\Backend\Form\FormDataProvider\ReturnUrl

Implements
FormDataProviderInterface

Resolve return Url if not set from outside. This is used by various field elements when a "sub" FormEngine view is triggered. An example is the "Add" button on type="group" elements.

Tags

todo:

We may want to get rid of this eventually: The returnUrl should typically be set by calling controllers as initial data, since only controllers know details about current context. The fallback below is a bit of guesswork.

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

__construct()  : mixed
addData()  : array
Add form data to result array

Methods

addData()

Add form data to result array

public addData(array $result) : array

Parameters

$result : array

Initialized result array

Return values

array —

Result filled with more data

On this page