function ComponentNodeVisitor::__construct

Same name in this branch
  1. 11.x core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
Same name and namespace in other branches
  1. 10 core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
  2. 10 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 30

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.