Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath\Extension
NodeExtension::getNodeTranslators
{@inheritdoc}
Method of the class: NodeExtension{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NodeExtension = new NodeExtension(); $NodeExtension->getNodeTranslators(): array;
NodeExtension::getNodeTranslators() NodeExtension::getNodeTranslators code WC 10.4.3
public function getNodeTranslators(): array
{
return [
'Selector' => [$this, 'translateSelector'],
'CombinedSelector' => [$this, 'translateCombinedSelector'],
'Negation' => [$this, 'translateNegation'],
'Function' => [$this, 'translateFunction'],
'Pseudo' => [$this, 'translatePseudo'],
'WC_Vendor_Attribute' => [$this, 'translateAttribute'],
'Class' => [$this, 'translateClass'],
'Hash' => [$this, 'translateHash'],
'Element' => [$this, 'translateElement'],
];
}