function HookHelpSection::create

Same name in other branches
  1. 9 core/modules/help/src/Plugin/HelpSection/HookHelpSection.php \Drupal\help\Plugin\HelpSection\HookHelpSection::create()
  2. 8.9.x core/modules/help/src/Plugin/HelpSection/HookHelpSection.php \Drupal\help\Plugin\HelpSection\HookHelpSection::create()
  3. 11.x core/modules/help/src/Plugin/HelpSection/HookHelpSection.php \Drupal\help\Plugin\HelpSection\HookHelpSection::create()

Overrides ContainerFactoryPluginInterface::create

File

core/modules/help/src/Plugin/HelpSection/HookHelpSection.php, line 56

Class

HookHelpSection
Provides the module topics list section for the help page.

Namespace

Drupal\help\Plugin\HelpSection

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('module_handler'), $container->get('extension.list.module'));
}

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