|
static | handler (Element $node, DTState $state) |
| Workhorse function for bringing linktrails and link prefixes into link content.
|
|
◆ handler()
static Wikimedia\Parsoid\Wt2Html\DOM\Handlers\HandleLinkNeighbours::handler |
( |
Element | $node, |
|
|
DTState | $state ) |
|
static |
Workhorse function for bringing linktrails and link prefixes into link content.
NOTE that this function mutates the node's siblings on either side.
- Parameters
-
Element | $node | |
DTState | $state | |
- Returns
- bool|Element
The documentation for this class was generated from the following file:
- src/Wt2Html/DOM/Handlers/HandleLinkNeighbours.php