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