public function Replication::setArchiveSource in Workspace 8
Sets the archive source flag.
Parameters
bool $archive:
Return value
\Drupal\workspace\Entity\Replication
File
- src/
Entity/ Replication.php, line 278
Class
- Replication
- Defines the Replication entity.
Namespace
Drupal\workspace\EntityCode
public function setArchiveSource($archive = TRUE) {
$this
->set('archive_source', $archive);
return $this;
}