You are here

public function GridStackForm::getColumnOptions in GridStack 8

Returns the supported columns.

1 call to GridStackForm::getColumnOptions()
GridStackForm::form in modules/gridstack_ui/src/Form/GridStackForm.php
Gets the actual form array to be built.

File

modules/gridstack_ui/src/Form/GridStackForm.php, line 624

Class

GridStackForm
Extends base form for gridstack instance configuration form.

Namespace

Drupal\gridstack_ui\Form

Code

public function getColumnOptions() {
  $range = range(1, 12);
  return array_combine($range, $range);
}