function TwigNodeCheckDeprecations::__construct

File

core/lib/Drupal/Core/Template/TwigNodeCheckDeprecations.php, line 26

Class

TwigNodeCheckDeprecations
A node that checks deprecated variable usage.

Namespace

Drupal\Core\Template

Code

public function __construct(array $usedNames) {
  $this->usedNames = $usedNames;
  parent::__construct();
}

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