You are here

public function Homebox::setPath in Homebox 8

Sets the path of the Homebox page.

Parameters

string $name: The path alias of the Homebox.

Return value

$this

Overrides HomeboxInterface::setPath

File

src/Entity/Homebox.php, line 129

Class

Homebox
Defines the Homebox entity.

Namespace

Drupal\homebox\Entity

Code

public function setPath($path) {
  $this->path = $path;
  return $this;
}