You are here

public function GridStack::getLastBreakpointKey in GridStack 8.2

Returns the last breakpoint key: Bootstrap3/Foundation lg, the rest xl.

1 call to GridStack::getLastBreakpointKey()
GridStack::getLastBreakpoint in src/Entity/GridStack.php
Returns options.breakpoints.[lg|xl].[column|width|grids|nested].

File

src/Entity/GridStack.php, line 171

Class

GridStack
Defines the GridStack configuration entity.

Namespace

Drupal\gridstack\Entity

Code

public function getLastBreakpointKey() {
  $keys = array_keys($this
    ->getBreakpoints());
  return end($keys);
}