function MenuTreeStorage::resetDefinitions
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
- 8.9.x core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
- 10 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
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 111
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\MenuCode
public function resetDefinitions() {
$this->definitions = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.