function MenuTreeStorage::resetDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
  2. 8.9.x core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
  3. 11.x core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::resetDefinitions()
3 calls to MenuTreeStorage::resetDefinitions()
MenuTreeStorage::delete in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::rebuild in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::save in core/lib/Drupal/Core/Menu/MenuTreeStorage.php

File

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

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\Core\Menu

Code

public function resetDefinitions() {
    $this->definitions = [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.