You are here

public function HtmlExtension::getFunctionTranslators in Zircon Profile 8

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

Returns function translators.

Return value

callable[]

Overrides AbstractExtension::getFunctionTranslators

File

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

Class

HtmlExtension
XPath expression translator HTML extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function getFunctionTranslators() {
  return array(
    'lang' => array(
      $this,
      'translateLang',
    ),
  );
}