function HelpController::create

Same name in other branches
  1. 9 core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::create()
  2. 8.9.x core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::create()
  3. 10 core/modules/help/src/Controller/HelpController.php \Drupal\help\Controller\HelpController::create()

Overrides AutowireTrait::create

File

core/modules/help/src/Controller/HelpController.php, line 47

Class

HelpController
Controller routines for help routes.

Namespace

Drupal\help\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('current_route_match'), $container->get('plugin.manager.help_section'), $container->get('extension.list.module'), $container->get('system.module_admin_links_helper'), $container->get('user.module_permissions_link_helper'));
}

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