You are here

public function UltimenuManagerInterface::getBlocksByRegion in Ultimenu 8.2

Same name and namespace in other branches
  1. 8 src/UltimenuManagerInterface.php \Drupal\ultimenu\UltimenuManagerInterface::getBlocksByRegion()

A helper function to generate a list of blocks from a specified region.

Parameters

string $region: The string identifier for a Ultimenu region. e.g. "ultimenu_main_about".

array $config: The config available for the menu tree.

Return value

array The renderable array of blocks within the region.

1 method overrides UltimenuManagerInterface::getBlocksByRegion()
UltimenuManager::getBlocksByRegion in src/UltimenuManager.php
A helper function to generate a list of blocks from a specified region.

File

src/UltimenuManagerInterface.php, line 120

Class

UltimenuManagerInterface
Interface for Ultimenu manager.

Namespace

Drupal\ultimenu

Code

public function getBlocksByRegion($region, array $config);