public function TBMegaMenuBuilderInterface::syncMenuItem in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::syncMenuItem()
Sync a core menu item with the TB config.
Parameters
array $hash: An array of hashes for all menu items based on their positions.
array $tb_item: The individual menu item.
int|string $row_delta: The delta for the current row.
int|string $col_delta: The delta for the current column.
int|string $item_delta: The delta for the current item.
array $items: All items in the current menu.
array $item_config: The current configuration for all items.
1 method overrides TBMegaMenuBuilderInterface::syncMenuItem()
- TBMegaMenuBuilder::syncMenuItem in src/
TBMegaMenuBuilder.php - Sync a core menu item with the TB config.
File
- src/
TBMegaMenuBuilderInterface.php, line 240
Class
- TBMegaMenuBuilderInterface
- Provides an interface defining a TB MegaMenu builder.
Namespace
Drupal\tb_megamenuCode
public function syncMenuItem(array &$hash, array $tb_item, $row_delta, $col_delta, $item_delta, array $items, array &$item_config);