public function Border::buildStyleFormElements in Bootstrap Styles 1.0.x
Same name in this branch
- 1.0.x src/Plugin/BootstrapStyles/Style/Border.php \Drupal\bootstrap_styles\Plugin\BootstrapStyles\Style\Border::buildStyleFormElements()
- 1.0.x src/Plugin/BootstrapStyles/StylesGroup/Border.php \Drupal\bootstrap_styles\Plugin\BootstrapStyles\StylesGroup\Border::buildStyleFormElements()
Overrides StylesGroupPluginBase::buildStyleFormElements
File
- src/
Plugin/ BootstrapStyles/ StylesGroup/ Border.php, line 38
Class
- Border
- Class Border.
Namespace
Drupal\bootstrap_styles\Plugin\BootstrapStyles\StylesGroupCode
public function buildStyleFormElements(array &$form, FormStateInterface $form_state, $storage) {
$form['border_preview'] = [
'#theme' => 'border_preview',
];
return $form;
}