ReturnUrl implements FormDataProviderInterface

Read onlyYes

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<string|int, mixed>
Add form data to result array

Methods

addData()

Add form data to result array

public addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>

Initialized result array

Return values
array<string|int, mixed>

Result filled with more data


        
On this page

Search results