You are here

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

Code

public function setArchiveSource($archive = TRUE) {
  $this
    ->set('archive_source', $archive);
  return $this;
}