function HelpTopicPluginController::__construct
Same name in other branches
- 9 core/modules/help_topics/src/Controller/HelpTopicPluginController.php \Drupal\help_topics\Controller\HelpTopicPluginController::__construct()
- 10 core/modules/help/src/Controller/HelpTopicPluginController.php \Drupal\help\Controller\HelpTopicPluginController::__construct()
- 11.x core/modules/help/src/Controller/HelpTopicPluginController.php \Drupal\help\Controller\HelpTopicPluginController::__construct()
Constructs a HelpTopicPluginController object.
Parameters
\Drupal\help_topics\HelpTopicPluginManagerInterface $help_topic_plugin_manager: The help topic plugin manager service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
File
-
core/
modules/ help_topics/ src/ Controller/ HelpTopicPluginController.php, line 45
Class
- HelpTopicPluginController
- Controller for help topic plugins.
Namespace
Drupal\help_topics\ControllerCode
public function __construct(HelpTopicPluginManagerInterface $help_topic_plugin_manager, RendererInterface $renderer) {
$this->helpTopicPluginManager = $help_topic_plugin_manager;
$this->renderer = $renderer;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.