MenuTreeStorageInterface::rebuild

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.

Parameters

array $definitions: The new menu link definitions.

File

core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 36

Class

MenuTreeStorageInterface
Defines an interface for storing a menu tree containing menu link IDs.

Namespace

Drupal\Core\Menu

Code

public function rebuild(array $definitions);
doc_Drupal
2016-10-29 09:27:46
Comments
Leave a Comment

Please login to continue.