You are here

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

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

Sync a core block with the TB config.

Parameters

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.

string $section: The portion of the configuration to sync.

array $item_config: The current configuration for all items.

1 method overrides TBMegaMenuBuilderInterface::syncBlock()
TBMegaMenuBuilder::syncBlock in src/TBMegaMenuBuilder.php
Sync a core block with the TB config.

File

src/TBMegaMenuBuilderInterface.php, line 258

Class

TBMegaMenuBuilderInterface
Provides an interface defining a TB MegaMenu builder.

Namespace

Drupal\tb_megamenu

Code

public function syncBlock(array $tb_item, $row_delta, $col_delta, $item_delta, string $section, array &$item_config);