function HelpTopicTwig::__construct
Same name in other branches
- 9 core/modules/help_topics/src/HelpTopicTwig.php \Drupal\help_topics\HelpTopicTwig::__construct()
- 8.9.x core/modules/help_topics/src/HelpTopicTwig.php \Drupal\help_topics\HelpTopicTwig::__construct()
- 10 core/modules/help/src/HelpTopicTwig.php \Drupal\help\HelpTopicTwig::__construct()
HelpTopicPluginBase constructor.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Template\TwigEnvironment $twig: The Twig environment.
File
-
core/
modules/ help/ src/ HelpTopicTwig.php, line 34
Class
- HelpTopicTwig
- Represents a help topic plugin whose definition comes from a Twig file.
Namespace
Drupal\helpCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, TwigEnvironment $twig) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.