You are here

public function Replication::setReplicationStatusFailed in Workspace 8

Sets the replication status to failed.

File

src/Entity/Replication.php, line 216

Class

Replication
Defines the Replication entity.

Namespace

Drupal\workspace\Entity

Code

public function setReplicationStatusFailed() {
  $this
    ->set('replication_status', static::FAILED);
  return $this;
}