public MenuTreeStorageInterface::rebuild(array $definitions)
Rebuilds the stored menu link definitions.
Links that saved by passing definitions into this method must be included on all future calls, or they will be purged. This allows for automatic cleanup e.g. when modules are uninstalled.
array $definitions: The new menu link definitions.
public function rebuild(array $definitions);
© 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!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::rebuild/8.1.x