You are here

public static function HelpTopicSection::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php \Drupal\help_topics\Plugin\HelpSection\HelpTopicSection::create()
  2. 9 core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php \Drupal\help_topics\Plugin\HelpSection\HelpTopicSection::create()

File

core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php, line 119

Class

HelpTopicSection
Provides the help topics list section for the help page.

Namespace

Drupal\help_topics\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('plugin.manager.help_topic'), $container
    ->get('renderer'), $container
    ->get('language.default'), $container
    ->get('language_manager'), $container
    ->get('string_translation'));
}