You are here

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

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

Insert a menu item into the item config array.

Parameters

array $item_config: The item config array.

int|string $row: The row to insert at.

int|string $col: The column to insert at.

object $item: The menu item to insert.

1 method overrides TBMegaMenuBuilderInterface::insertTbMenuItem()
TBMegaMenuBuilder::insertTbMenuItem in src/TBMegaMenuBuilder.php
Insert a menu item into the item config array.

File

src/TBMegaMenuBuilderInterface.php, line 332

Class

TBMegaMenuBuilderInterface
Provides an interface defining a TB MegaMenu builder.

Namespace

Drupal\tb_megamenu

Code

public function insertTbMenuItem(array &$item_config, $row, $col, object $item);