SiteDatabaseEditRow
class \
- 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
- First level of ['customData']['siteData'] to ['databaseRow']
- getRawConfigurationForSiteWithRootPageId() : array
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 $result) : array
Parameters
- $result : array
-
Initialized result array
Tags
Return values
array —Result filled with more data
getRawConfigurationForSiteWithRootPageId()
protected
getRawConfigurationForSiteWithRootPageId(SiteFinder $siteFinder, int $rootPageId) : array
Parameters
- $siteFinder : SiteFinder
- $rootPageId : int