You are here

public function Homebox::setBlocks in Homebox 8

Sets the list of layouted blocks.

Parameters

array $blocks: Gets the layouted blocks.

Return value

$this

Overrides HomeboxInterface::setBlocks

File

src/Entity/Homebox.php, line 147

Class

Homebox
Defines the Homebox entity.

Namespace

Drupal\homebox\Entity

Code

public function setBlocks(array $blocks) {
  $this->blocks = $blocks;
  return $this;
}