You are here

public function GridStackInterface::getBreakpoints in GridStack 8.2

Returns options.breakpoints.[xs|sm|md|lg|xl], or all, else empty.

If available, data may contain: column, image_style, width, grids, nested.

Parameters

string $breakpoint: The current breakpoint: xs, sm, md, lg, xl.

Return value

array Available data by the given $breakpoint parameter, else empty.

1 method overrides GridStackInterface::getBreakpoints()
GridStack::getBreakpoints in src/Entity/GridStack.php
Returns options.breakpoints.[xs|sm|md|lg|xl], or all, else empty.

File

src/Entity/GridStackInterface.php, line 97

Class

GridStackInterface
Provides an interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

public function getBreakpoints($breakpoint = NULL);