function TourHelpSection::create

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

Overrides ContainerFactoryPluginInterface::create

File

core/modules/tour/src/Plugin/HelpSection/TourHelpSection.php, line 52

Class

TourHelpSection
Provides the tours list section for the help page.

Namespace

Drupal\tour\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('entity_type.manager'));
}

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