You are here

public function TBMegaMenuBuilderInterface::insertEnabledLinks in The Better Mega Menu 8

Same name and namespace in other branches
  1. 2.x src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::insertEnabledLinks()

Insert an enabled link into the TB config.

Parameters

array $items: All items in the current menu.

array $hash: An array of hashes for all menu items based on their positions.

array $item_config: The current configuration for all items.

1 method overrides TBMegaMenuBuilderInterface::insertEnabledLinks()
TBMegaMenuBuilder::insertEnabledLinks in src/TBMegaMenuBuilder.php
Insert an enabled link into the TB config.

File

src/TBMegaMenuBuilderInterface.php, line 286

Class

TBMegaMenuBuilderInterface
Provides an interface defining a TB MegaMenu builder.

Namespace

Drupal\tb_megamenu

Code

public function insertEnabledLinks(array $items, array $hash, array &$item_config);