BrokenLinkAnalysisEvent

final class \TYPO3\CMS\Core\Html\Event\BrokenLinkAnalysisEvent

Implements
StoppableEventInterface

Event that is fired to validate if a link is valid or not.

Table of Contents

Interfaces

StoppableEventInterface

Methods

__construct()  : mixed
getLinkData()  : array
Returns resolved LinkService data, depending on the type
getLinkType()  : string
Returns the link type as string
getReason()  : string
isBrokenLink()  : bool
isPropagationStopped()  : bool
markAsBrokenLink()  : void
markAsCheckedLink()  : void

Methods

__construct()

public __construct(string $linkType, array $linkData) : mixed

Parameters

$linkType : string
$linkData : array

getLinkData()

Returns resolved LinkService data, depending on the type

public getLinkData() : array

Return values

array

getLinkType()

Returns the link type as string

public getLinkType() : string

Tags

see
LinkService

types

Return values

string

getReason()

public getReason() : string

Return values

string
public isBrokenLink() : bool

Return values

bool

isPropagationStopped()

public isPropagationStopped() : bool

Return values

bool
public markAsBrokenLink([string $reason = '' ]) : void

Parameters

$reason : string = ''
public markAsCheckedLink() : void
On this page