public function GridStackVariant::setSource in GridStack 8.2
Sets the variant source aka original GridStack layout.
File
- src/
Entity/ GridStackVariant.php, line 60
Class
- GridStackVariant
- Defines the GridStack variant configuration entity.
Namespace
Drupal\gridstack\EntityCode
public function setSource($source) {
$this->source = $source;
return $this;
}