You are here

public function GridStackInterface::prepareRegions in GridStack 8.2

Returns regions based on available grids.

Parameters

bool $clean: The flag to exclude region containers.

Return value

array Available regions, else empty.

1 method overrides GridStackInterface::prepareRegions()
GridStack::prepareRegions in src/Entity/GridStack.php
Returns regions based on available grids.

File

src/Entity/GridStackInterface.php, line 108

Class

GridStackInterface
Provides an interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

public function prepareRegions($clean = TRUE);