public function GridStack::getBreakpointGrid in GridStack 8
Returns options.breakpoints.sm.[width, column, image_style, grids, nested].
File
- src/
Entity/ GridStack.php, line 257
Class
- GridStack
- Defines the GridStack configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function getBreakpointGrid($breakpoint = 'lg', $index = -1, $property = '', $current = 'grids') {
$grids = $this
->getBreakpointGrids($breakpoint, $current);
return isset($grids[$index]) && isset($grids[$index][$property]) ? $grids[$index][$property] : NULL;
}