You are here

public function FooTable::getBreakpoints in FooTable 8.2

Return value

array

Overrides FooTableInterface::getBreakpoints

File

src/FooTable.php, line 51

Class

FooTable

Namespace

Drupal\footable

Code

public function getBreakpoints() {
  $breakpoints = [];

  /* @var \Drupal\footable\Entity\FooTableBreakpointInterface $breakpoint */
  foreach ($this->breakpointStorage
    ->loadMultiple() as $breakpoint) {
    $breakpoints[$breakpoint
      ->id()] = $breakpoint
      ->getBreakpoint();
  }
  return $breakpoints;
}