SiteDatabaseEditRow implements FormDataProviderInterface
Read onlyYes
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.
Methods
- __construct() : mixed
- addData() : array<string|int, mixed>
- First level of ['customData']['siteData'] to ['databaseRow']
- getRawConfigurationForSiteWithRootPageId() : array<string|int, mixed>
Methods
__construct()
public
__construct(SiteFinder $siteFinder) : mixed
Parameters
- $siteFinder : SiteFinder
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(int $rootPageId) : array<string|int, mixed>
Parameters
- $rootPageId : int