CheckBrokenRteLinkEventListener
FinalYes
Event listeners to identify if a link is broken. For external URLs, the linkvalidator is used (not in real-time but from the database), for pages this is handled via a check to the database record.
Table of Contents
Methods
- __construct() : mixed
- checkExternalLink() : void
- checkFileLink() : void
- checkPageLink() : void
Methods
__construct()
public
__construct(BrokenLinkRepository $brokenLinkRepository) : mixed
Parameters
- $brokenLinkRepository : BrokenLinkRepository
checkExternalLink()
public
checkExternalLink(BrokenLinkAnalysisEvent $event) : void
Parameters
- $event : BrokenLinkAnalysisEvent
Attributes
- #[AsEventListener]
- 'rte-check-link-external'
checkFileLink()
public
checkFileLink(BrokenLinkAnalysisEvent $event) : void
Parameters
- $event : BrokenLinkAnalysisEvent
Attributes
- #[AsEventListener]
- 'rte-check-link-to-file'
checkPageLink()
public
checkPageLink(BrokenLinkAnalysisEvent $event) : void
Parameters
- $event : BrokenLinkAnalysisEvent
Attributes
- #[AsEventListener]
- 'rte-check-link-to-page'