W3cubDocs

/Drupal 8

public function TwigNodeVisitor::getPriority

public TwigNodeVisitor::getPriority()

File

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

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Template!TwigNodeVisitor.php/function/TwigNodeVisitor::getPriority/8.1.x