protected function GridStackFormBase::setGridStack in GridStack 8.2
Sets the gridstack instance.
2 calls to GridStackFormBase::setGridStack()
- GridStackVariantForm::buildEntity in modules/
gridstack_ui/ src/ Form/ GridStackVariantForm.php - Builds an updated entity object based upon the submitted form values.
- GridStackVariantForm::form in modules/
gridstack_ui/ src/ Form/ GridStackVariantForm.php - Gets the actual form array to be built.
File
- modules/
gridstack_ui/ src/ Form/ GridStackFormBase.php, line 364
Class
- GridStackFormBase
- Extends base form for gridstack instance configuration form.
Namespace
Drupal\gridstack_ui\FormCode
protected function setGridStack(GridStack $gridstack) {
$this->gridStack = $gridstack;
return $this;
}