public function HomeboxLayoutInterface::setPublished in Homebox 8
Sets the published status of a Homebox Layout.
Parameters
bool $published: TRUE to set this Homebox Layout to published, FALSE to set it to unpublished.
Return value
$this
1 method overrides HomeboxLayoutInterface::setPublished()
- HomeboxLayout::setPublished in src/
Entity/ HomeboxLayout.php - Sets the published status of a Homebox Layout.
File
- src/
Entity/ HomeboxLayoutInterface.php, line 72
Class
- HomeboxLayoutInterface
- Provides an interface for defining Homebox Layout entities.
Namespace
Drupal\homebox\EntityCode
public function setPublished($published);