function TwigNodeVisitor::getPriority

Same name in other branches
  1. 9 core/lib/Drupal/Core/Template/TwigNodeVisitor.php \Drupal\Core\Template\TwigNodeVisitor::getPriority()
  2. 10 core/lib/Drupal/Core/Template/TwigNodeVisitor.php \Drupal\Core\Template\TwigNodeVisitor::getPriority()
  3. 11.x core/lib/Drupal/Core/Template/TwigNodeVisitor.php \Drupal\Core\Template\TwigNodeVisitor::getPriority()

File

core/lib/Drupal/Core/Template/TwigNodeVisitor.php, line 61

Class

TwigNodeVisitor
Provides a Twig_NodeVisitor to change the generated parse-tree.

Namespace

Drupal\Core\Template

Code

public function getPriority() {
    // Just above the Optimizer, which is the normal last one.
    return 256;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.