function NavigationSectionStorage::create

Overrides ContainerFactoryPluginInterface::create

File

core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php, line 74

Class

NavigationSectionStorage
Provides navigation section storage.

Namespace

Drupal\navigation\Plugin\SectionStorage

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) : static {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('config.factory'));
}

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