SiteDatabaseEditRow implements FormDataProviderInterface
Special data provider for the sites configuration module.
Fetch "row" data from yml file and set as 'databaseRow'
Table of Contents
Interfaces
- FormDataProviderInterface
- Interface must be implemented by form data provider classes.
Properties
Methods
- __construct() : mixed
- addData() : array<string|int, mixed>
- First level of ['customData']['siteData'] to ['databaseRow']
- getRawConfigurationForSiteWithRootPageId() : array<string|int, mixed>
Properties
$siteConfiguration
protected
SiteConfiguration
$siteConfiguration
Methods
__construct()
public
__construct(SiteConfiguration $siteConfiguration) : mixed
Parameters
- $siteConfiguration : SiteConfiguration
addData()
First level of ['customData']['siteData'] to ['databaseRow']
public
addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
-
Initialized result array
Tags
Return values
array<string|int, mixed> —Result filled with more data
getRawConfigurationForSiteWithRootPageId()
protected
getRawConfigurationForSiteWithRootPageId(SiteFinder $siteFinder, int $rootPageId) : array<string|int, mixed>
Parameters
- $siteFinder : SiteFinder
- $rootPageId : int