MenuTreeStorage::resetDefinitions

public MenuTreeStorage::resetDefinitions()

Clears all definitions cached in memory.

Overrides MenuTreeStorageInterface::resetDefinitions

File

core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 137

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\Core\Menu

Code

public function resetDefinitions() {
  $this->definitions = array();
}
doc_Drupal
2016-10-29 09:27:41
Comments
Leave a Comment

Please login to continue.