function ComponentNodeVisitor::__construct

Same name in this branch
  1. 10 core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
Same name in other branches
  1. 11.x core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
  2. 11.x core/lib/Drupal/Core/Template/ComponentNodeVisitor.php \Drupal\Core\Template\ComponentNodeVisitor::__construct()

Creates a new ComponentNodeVisitor object.

Parameters

\Drupal\Core\Theme\ComponentPluginManager $pluginManager: The plugin manager for components.

File

core/lib/Drupal/Core/Template/ComponentNodeVisitor.php, line 31

Class

ComponentNodeVisitor
Provides a ComponentNodeVisitor to change the generated parse-tree.

Namespace

Drupal\Core\Template

Code

public function __construct(ComponentPluginManager $pluginManager) {
}

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