protected function ResponsiveTrait::getBreakpoints in Bootstrap Styles 1.0.x
The available breakpoint.
Return value
array Array of breakpoints.
4 calls to ResponsiveTrait::getBreakpoints()
- ResponsiveTrait::buildBreakpointsConfigurationForm in src/
ResponsiveTrait.php - TODO: Remove and replace this function.
- ResponsiveTrait::buildBreakpointsFields in src/
ResponsiveTrait.php - Build the breakpoints style form elements.
- ResponsiveTrait::buildResponsivePreviewer in src/
ResponsiveTrait.php - Build the responsive previewer form elements.
- ResponsiveTrait::getBreakpointsKeys in src/
ResponsiveTrait.php - The available breakpoint.
File
- src/
ResponsiveTrait.php, line 21
Class
- ResponsiveTrait
- A Trait for responsive methods.
Namespace
Drupal\bootstrap_stylesCode
protected function getBreakpoints() {
return [
'desktop' => $this
->t('Desktop'),
'laptop' => $this
->t('Laptop'),
'tablet' => $this
->t('Tablet'),
'mobile' => $this
->t('Mobile'),
];
}