You are here

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\Entity

Code

public function setSource($source) {
  $this->source = $source;
  return $this;
}