AppendLinkHandlerElementsEvent¶
The PSR-14 event
\TYPO3\CMS\Core\DataHandling\Event\AppendLinkHandlerElementsEvent
is fired so listeners can intercept and add elements when checking
links within the soft reference parser.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class TYPO3\CMS\Core\DataHandling\Event\AppendLinkHandlerElementsEvent¶
Event fired so listeners can intercept add elements when checking links within the SoftRef parser
- getLinkParts()¶
- Return type
array
- getContent()¶
- Return type
string
- getElements()¶
- Return type
array
- getIdx()¶
- Return type
int
- getTokenId()¶
- Return type
string
- setLinkParts(array $linkParts)¶
- Parameters
$linkParts (
array
) -- the linkParts
- setContent(string $content)¶
- Parameters
$content (
string
) -- the content
- setElements(array $elements)¶
- Parameters
$elements (
array
) -- the elements
- addElements(array $elements)¶
- Parameters
$elements (
array
) -- the elements
- isResolved()¶
- Return type
bool