You are here

protected function GridWidget::getBreakpoints in Paragraphs grid 8

Breakoint definition from grid config.

Return value

array|mixed|null Breakoint definition.

1 call to GridWidget::getBreakpoints()
GridWidget::formElement in src/Plugin/Field/FieldWidget/GridWidget.php
Returns the form for a single field widget.

File

src/Plugin/Field/FieldWidget/GridWidget.php, line 182

Class

GridWidget
Plugin implementation of the 'grid_widget' widget.

Namespace

Drupal\paragraphs_grid\Plugin\Field\FieldWidget

Code

protected function getBreakpoints() {
  return $this
    ->getGridConfig('breakpoints');
}