SourceHostProvider

final readonly class \TYPO3\CMS\Redirects\Data\SourceHostProvider

Data provider for source hosts in sys_redirect records

Table of Contents

Methods

__construct()  : mixed
getAccessibleHosts()  : array<int, non-empty-string>
Get the hosts of all bases and base variants of the sites the current backend user has access to, including the wildcard host, regardless of the variant resolved in the current context.
getHosts()  : array<int, non-empty-string>
Get all available hosts for current backend user, as resolved in the current context.

Methods

getAccessibleHosts()

Get the hosts of all bases and base variants of the sites the current backend user has access to, including the wildcard host, regardless of the variant resolved in the current context.

public getAccessibleHosts() : array<int, non-empty-string>

Return values

array<int, non-empty-string>

getHosts()

Get all available hosts for current backend user, as resolved in the current context.

public getHosts([bool $includeWildcard = false ]) : array<int, non-empty-string>

Parameters

$includeWildcard : bool = false

Return values

array<int, non-empty-string>
On this page