function StaticMenuLinkOverrides::reload

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::reload()
  2. 8.9.x core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::reload()
  3. 10 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::reload()

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\Menu

Code

public function reload() {
    $this->config = NULL;
    $this->configFactory
        ->reset($this->configName);
}

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