You are here

public static function GridStackDefault::regionId in GridStack 8.2

Returns region ID.

4 calls to GridStackDefault::regionId()
GridStack::prepareRegions in src/Entity/GridStack.php
Returns regions based on available grids.
GridStackEnginePluginBase::buildItems in src/GridStackEnginePluginBase.php
Builds GridStack boxes to support nested grids for Bootstrap/ Foundation.
GridStackEnginePluginBase::buildNestedItems in src/GridStackEnginePluginBase.php
Provides nested items if so configured.
GridStackLayout::interpolateItems in src/Plugin/Layout/GridStackLayout.php
Interpolate data from Layout Builder to match original construct.

File

src/GridStackDefault.php, line 302

Class

GridStackDefault
Defines shared plugin default settings for field formatter and Views style.

Namespace

Drupal\gridstack

Code

public static function regionId($id) {
  return 'gridstack_' . $id;
}