You are here

public function GridStackInterface::getNestedGridsByDelta in GridStack 8.2

Returns the current nested grids with preserved indices even if empty.

Only cares for the last breakpoint, others inherit its structure. The reason is all breakpoints may have different DOM positionings, heights and widths each, but they must have the same grid structure.

Parameters

int $delta: The current delta.

Return value

mixed|array Available grids by the given $delta parameter, else empty.

1 method overrides GridStackInterface::getNestedGridsByDelta()
GridStack::getNestedGridsByDelta in src/Entity/GridStack.php
Returns the current nested grids with preserved indices even if empty.

File

src/Entity/GridStackInterface.php, line 84

Class

GridStackInterface
Provides an interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

public function getNestedGridsByDelta($delta = 0);