public function 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\MenuCode
public function resetDefinitions() { $this->definitions = array(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorage.php/function/MenuTreeStorage::resetDefinitions/8.1.x