You are here

public function BoxShadow::submitConfigurationForm in Bootstrap Styles 1.0.x

Overrides StylePluginBase::submitConfigurationForm

File

src/Plugin/BootstrapStyles/Style/BoxShadow.php, line 43

Class

BoxShadow
Class BoxShadow.

Namespace

Drupal\bootstrap_styles\Plugin\BootstrapStyles\Style

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this
    ->config()
    ->set('box_shadow', $form_state
    ->getValue('box_shadow'))
    ->save();
}