protected function ResponsiveTrait::createBreakpointsStyleFormClassIndexBasedFields in Bootstrap Styles 1.0.x
Create breakpoints fields for class index based field like padding.
Parameters
array $form: An associative array containing the structure of the form.
string $field_name: The field name.
string $group_id: The plugin group id.
array $storage: An associative array containing the form storage.
string $storage_key: The storage key of the field in the storage array if it's different from the field name.
File
- src/
ResponsiveTrait.php, line 293
Class
- ResponsiveTrait
- A Trait for responsive methods.
Namespace
Drupal\bootstrap_stylesCode
protected function createBreakpointsStyleFormClassIndexBasedFields(array &$form, string $field_name, string $group_id, array $storage, string $storage_key = NULL) {
foreach ($this
->getBreakpointsKeys() as $breakpoint_key) {
$this
->createBreakpointStyleFormClassIndexBasedField($form, $field_name, $breakpoint_key, $group_id, $storage, $storage_key);
}
}