You are here

public function BootstrapLayout::saveBreakpoints in Bootstrap Layout Builder 2.x

Same name and namespace in other branches
  1. 1.x src/Plugin/Layout/BootstrapLayout.php \Drupal\bootstrap_layout_builder\Plugin\Layout\BootstrapLayout::saveBreakpoints()

Save breakpoints to the configuration.

Parameters

array $breakpoints: The layout active breakpoints.

1 call to BootstrapLayout::saveBreakpoints()
BootstrapLayout::submitConfigurationForm in src/Plugin/Layout/BootstrapLayout.php
Form submission handler.

File

src/Plugin/Layout/BootstrapLayout.php, line 633

Class

BootstrapLayout
A layout from our bootstrap layout builder.

Namespace

Drupal\bootstrap_layout_builder\Plugin\Layout

Code

public function saveBreakpoints(array $breakpoints) {
  $this->configuration['breakpoints'] = $breakpoints;
}