private function DynamicLayoutSettings::getBootstrapColumnClasses in Dynamic Layouts 8
2 calls to DynamicLayoutSettings::getBootstrapColumnClasses()
- DynamicLayoutSettings::getFrontendColumnClasses in src/
Entity/ DynamicLayoutSettings.php - Get the frontend column classes.
- DynamicLayoutSettings::getLastColumnNumber in src/
Entity/ DynamicLayoutSettings.php - Get the first column number for a specific frontend library.
File
- src/
Entity/ DynamicLayoutSettings.php, line 228
Class
- DynamicLayoutSettings
- Defines the DynamicLayoutSettings entity.
Namespace
Drupal\dynamic_layouts\EntityCode
private function getBootstrapColumnClasses() {
$bootstrap_column_widths = [];
for ($i = 1; $i <= 12; $i++) {
$bootstrap_column_widths[$i] = $i;
}
return $bootstrap_column_widths;
}