public function ReplicationLog::setHistory in Replication 8
Same name and namespace in other branches
- 8.2 src/Entity/ReplicationLog.php \Drupal\replication\Entity\ReplicationLog::setHistory()
Sets the entire history.
Parameters
array $history: List containing replication history items.
Return value
$this
Overrides ReplicationLogInterface::setHistory
File
- src/
Entity/ ReplicationLog.php, line 42
Class
- ReplicationLog
- The replication log entity type.
Namespace
Drupal\replication\EntityCode
public function setHistory($history) {
$this
->set('history', $history);
return $this;
}