function TwigNodeVisitorCheckDeprecations::getPriority

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php \Drupal\Core\Template\TwigNodeVisitorCheckDeprecations::getPriority()

File

core/lib/Drupal/Core/Template/TwigNodeVisitorCheckDeprecations.php, line 72

Class

TwigNodeVisitorCheckDeprecations
Provides a Node Visitor to trigger errors if deprecated variables are used.

Namespace

Drupal\Core\Template

Code

public function getPriority() : int {
    // 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.