public function GridStack::getLastColumn in GridStack 8.2
Returns the last breakpoint column, or fallback to global setting.
File
- src/
Entity/ GridStack.php, line 164
Class
- GridStack
- Defines the GridStack configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function getLastColumn() {
return $this
->getLastBreakpoint('column') ?: $this
->getSetting('column', 12);
}