public function MenuTreeStorage::resetDefinitions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
Clears all definitions cached in memory.
Overrides MenuTreeStorageInterface::resetDefinitions
3 calls to MenuTreeStorage::resetDefinitions()
- MenuTreeStorage::delete in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Deletes a menu link definition from the storage.
- MenuTreeStorage::rebuild in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Rebuilds the stored menu link definitions.
- MenuTreeStorage::save in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Saves a plugin definition to the storage.
File
- core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php, line 142 - Contains \Drupal\Core\Menu\MenuTreeStorage.
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\MenuCode
public function resetDefinitions() {
$this->definitions = array();
}