public function StaticMenuLinkOverrides::reload in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::reload()
Reloads the overrides from config.
Forces all overrides to be reloaded from config storage to compare the override value with the value submitted during test form submission.
Overrides StaticMenuLinkOverridesInterface::reload
File
- core/
lib/ Drupal/ Core/ Menu/ StaticMenuLinkOverrides.php, line 65
Class
- StaticMenuLinkOverrides
- Defines an implementation of the menu link override using a config file.
Namespace
Drupal\Core\MenuCode
public function reload() {
$this->config = NULL;
$this->configFactory
->reset($this->configName);
}