ValuePickerItemDataProvider 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

$siteFinder  : SiteFinder

Methods

__construct()  : mixed
addData()  : array<string|int, mixed>
Add sys_domains into $result data array
getHosts()  : array<string|int, string>
Get all hosts from sites

Properties

Methods

addData()

Add sys_domains into $result data array

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

getHosts()

Get all hosts from sites

protected getHosts() : array<string|int, string>
Return values
array<string|int, string>

domain records


        
On this page

Search results