You are here

public function MenuLinkContentServiceInterface::updateMenuItemsBundle in Menu Item Extras 8.2

Update menu items.

Parameters

string $menu_id: Menu id is a bundle for menu items that required to be updated.

bool $extras_enabled: Flag of enabled functionality.

Return value

bool Success or failed result of update.

1 method overrides MenuLinkContentServiceInterface::updateMenuItemsBundle()
MenuLinkContentService::updateMenuItemsBundle in src/Service/MenuLinkContentService.php
Update menu items.

File

src/Service/MenuLinkContentServiceInterface.php, line 26

Class

MenuLinkContentServiceInterface
Interface MenuLinkContentHelperInterface.

Namespace

Drupal\menu_item_extras\Service

Code

public function updateMenuItemsBundle($menu_id, $extras_enabled = TRUE);