public function BreakpointInterface::getClassByPosition in Bootstrap Layout Builder 2.x
Same name and namespace in other branches
- 1.x src/BreakpointInterface.php \Drupal\bootstrap_layout_builder\BreakpointInterface::getClassByPosition()
Returns region class of a breakpoint.
Parameters
string $key: The position of region.
string $strucutre_id: The layout option structure id.
Return value
string The class of a region.
1 method overrides BreakpointInterface::getClassByPosition()
- Breakpoint::getClassByPosition in src/
Entity/ Breakpoint.php - Returns region class of a breakpoint.
File
- src/
BreakpointInterface.php, line 39
Class
- BreakpointInterface
- Provides an interface for Bootstrap Layout Builder breakpoints entities.
Namespace
Drupal\bootstrap_layout_builderCode
public function getClassByPosition($key, $strucutre_id);