ValuePickerItemDataProvider
class \
- Implements
- FormDataProviderInterface
Inject available domain hosts into a valuepicker form
Internal
Table of Contents
Interfaces
- FormDataProviderInterface
- Interface must be implemented by form data provider classes.
Properties
Methods
- __construct() : mixed
- addData() : array
- Add sys_domains into $result data array
- getHosts() : string[]
- Get all hosts from sites
Properties
$siteFinder
protected
SiteFinder
$siteFinder
Methods
__construct()
public
__construct([SiteFinder|null $siteFinder = null ]) : mixed
Parameters
- $siteFinder : SiteFinder|null = null
addData()
Add sys_domains into $result data array
public
addData(array $result) : array
Parameters
- $result : array
-
Initialized result array
Return values
array —Result filled with more data
getHosts()
Get all hosts from sites
protected
getHosts() : string[]
Return values
string[] —domain records