function StaticMenuLinkOverrides::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::__construct()
- 10 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::__construct()
- 11.x core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::__construct()
Constructs a StaticMenuLinkOverrides object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A configuration factory instance.
File
-
core/
lib/ Drupal/ Core/ Menu/ StaticMenuLinkOverrides.php, line 43
Class
- StaticMenuLinkOverrides
- Defines an implementation of the menu link override using a config file.
Namespace
Drupal\Core\MenuCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.