SiteResolving implements FormDataProviderInterface

This data provider is used in casual edit record / new record / edit page / new page scenarios: It find the site object for a page and adds it as 'site' in $result.

Note this data provider has a loose dependency to DatabaseDefaultLanguagePageRow, it needs that to determine the correct base pid if localized pages are edited.

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Properties

$siteFinder  : SiteFinder

Methods

__construct()  : mixed
addData()  : array<string|int, mixed>
Find and add site object
resolveSite()  : SiteInterface

Properties

Methods

addData()

Find and add site object

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