You are here

public function UltimenuManagerInterface::getBlocksByRegion in Ultimenu 8

Same name and namespace in other branches
  1. 8.2 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".

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 186

Class

UltimenuManagerInterface
Interface for Ultimenu plugins.

Namespace

Drupal\ultimenu

Code

public function getBlocksByRegion($region);