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

Breadcrumb

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

function TranslatorInterface::cssToXPath

Translates a CSS selector to an XPath expression.

1 method overrides TranslatorInterface::cssToXPath()
Translator::cssToXPath in vendor/symfony/css-selector/XPath/Translator.php
Translates a CSS selector to an XPath expression.

File

vendor/symfony/css-selector/XPath/TranslatorInterface.php, line 31

Class

TranslatorInterface
XPath expression translator interface.

Namespace

Symfony\Component\CssSelector\XPath

Code

public function cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') : string;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal