public function HelpTopicPluginController::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/src/Controller/HelpTopicPluginController.php \Drupal\help_topics\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;
}