function ComponentNodeVisitor::__construct
Same name in this branch
- 11.x core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
Same name in other branches
- 10 core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::__construct()
- 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 31
Class
- ComponentNodeVisitor
- Provides a ComponentNodeVisitor to change the generated parse-tree.
Namespace
Drupal\Core\TemplateCode
public function __construct(ComponentPluginManager $pluginManager) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.