Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NodeExtension.php

function NodeExtension::getNodeTranslators

Overrides AbstractExtension::getNodeTranslators

File

vendor/symfony/css-selector/XPath/Extension/NodeExtension.php, line 60

Class

NodeExtension
XPath expression translator node extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function getNodeTranslators() : array {
    return [
        'Selector' => $this->translateSelector(...),
        'CombinedSelector' => $this->translateCombinedSelector(...),
        'Negation' => $this->translateNegation(...),
        'Matching' => $this->translateMatching(...),
        'SpecificityAdjustment' => $this->translateSpecificityAdjustment(...),
        'Function' => $this->translateFunction(...),
        'Pseudo' => $this->translatePseudo(...),
        'Attribute' => $this->translateAttribute(...),
        'Class' => $this->translateClass(...),
        'Hash' => $this->translateHash(...),
        'Element' => $this->translateElement(...),
    ];
}
RSS feed
Powered by Drupal