public function TextColor::submitConfigurationForm in Bootstrap Styles 1.0.x
Overrides StylePluginBase::submitConfigurationForm
File
- src/
Plugin/ BootstrapStyles/ Style/ TextColor.php, line 51
Class
- TextColor
- Class TextColor.
Namespace
Drupal\bootstrap_styles\Plugin\BootstrapStyles\StyleCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this
->config()
->set('text_colors', $form_state
->getValue('text_colors'))
->save();
// Responsive.
$fields = [
'text_colors',
];
$this
->submitBreakpointsConfigurationForm($form_state, $fields);
}