function HelpTopicPluginController::create

Same name and namespace in other branches
  1. 8.9.x core/modules/help_topics/src/Controller/HelpTopicPluginController.php \Drupal\help_topics\Controller\HelpTopicPluginController::create()

Overrides ControllerBase::create

File

core/modules/help_topics/src/Controller/HelpTopicPluginController.php, line 53

Class

HelpTopicPluginController
Controller for help topic plugins.

Namespace

Drupal\help_topics\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.help_topic'), $container->get('renderer'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.