You are here

public function HtmlExtension::getPseudoClassTranslators in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/XPath/Extension/HtmlExtension.php \Symfony\Component\CssSelector\XPath\Extension\HtmlExtension::getPseudoClassTranslators()

Returns pseudo-class translators.

Return value

callable[]

Overrides AbstractExtension::getPseudoClassTranslators

File

vendor/symfony/css-selector/XPath/Extension/HtmlExtension.php, line 45

Class

HtmlExtension
XPath expression translator HTML extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function getPseudoClassTranslators() {
  return array(
    'checked' => array(
      $this,
      'translateChecked',
    ),
    'link' => array(
      $this,
      'translateLink',
    ),
    'disabled' => array(
      $this,
      'translateDisabled',
    ),
    'enabled' => array(
      $this,
      'translateEnabled',
    ),
    'selected' => array(
      $this,
      'translateSelected',
    ),
    'invalid' => array(
      $this,
      'translateInvalid',
    ),
    'hover' => array(
      $this,
      'translateHover',
    ),
    'visited' => array(
      $this,
      'translateVisited',
    ),
  );
}