LinktypeRegistry

class \TYPO3\CMS\Linkvalidator\Linktype\LinktypeRegistry

Registry for linktypes. The registry receives all services, tagged with "linkvalidator.linktype".

The tagging of linktype is automatically done based on the implemented LinktypeInterface.

Table of Contents

Methods

__construct()  : mixed
getIdentifiers()  : string[]
Get the identifiers of all registered linktypes
getLinktype()  : LinktypeInterface|null
getLinktypes()  : LinktypeInterface[]
Get all registered linktypes

Methods

__construct()

public __construct(iterable<string|int, mixed> $linktypes) : mixed

Parameters

$linktypes : iterable<string|int, mixed>

getIdentifiers()

Get the identifiers of all registered linktypes

public getIdentifiers() : string[]

Return values

string[]
On this page