You are here

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

Overrides StylePluginBase::submitConfigurationForm

File

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

Class

TextAlignment
Class TextAlignment.

Namespace

Drupal\bootstrap_styles\Plugin\BootstrapStyles\Style

Code

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