MenuLinkManager::resetDefinitions

public MenuLinkManager::resetDefinitions()

Resets any local definition cache. Used for testing.

Overrides MenuLinkManagerInterface::resetDefinitions

File

core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 413

Class

MenuLinkManager
Manages discovery, instantiation, and tree building of menu link plugins.

Namespace

Drupal\Core\Menu

Code

public function resetDefinitions() {
  $this->treeStorage->resetDefinitions();
}
doc_Drupal
2016-10-29 09:27:07
Comments
Leave a Comment

Please login to continue.