You are here

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

Overrides StylePluginBase::submitConfigurationForm

File

src/Plugin/BootstrapStyles/Style/ScrollEffects.php, line 76

Class

ScrollEffects
Class Effect.

Namespace

Drupal\bootstrap_styles\Plugin\BootstrapStyles\Style

Code

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