You are here

public function TBMegaMenuBuilderInterface::isBlockContentEmpty in The Better Mega Menu 2.x

Same name and namespace in other branches
  1. 8 src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::isBlockContentEmpty()

Test if a block has content or not.

Parameters

string $block_id: The block id.

string $section: The menu section.

Return value

bool True if empty.

1 method overrides TBMegaMenuBuilderInterface::isBlockContentEmpty()
TBMegaMenuBuilder::isBlockContentEmpty in src/TBMegaMenuBuilder.php
Test if a block has content or not.

File

src/TBMegaMenuBuilderInterface.php, line 318

Class

TBMegaMenuBuilderInterface
Provides an interface defining a TB MegaMenu builder.

Namespace

Drupal\tb_megamenu

Code

public function isBlockContentEmpty(string $block_id, string $section);