public function RevisionDiff::__construct in Replication 8.2
Same name and namespace in other branches
- 8 src/RevisionDiff/RevisionDiff.php \Drupal\replication\RevisionDiff\RevisionDiff::__construct()
Parameters
\Drupal\multiversion\Entity\Index\RevisionIndexInterface $rev_index:
\Drupal\multiversion\Entity\WorkspaceInterface $workspace:
File
- src/
RevisionDiff/ RevisionDiff.php, line 24
Class
Namespace
Drupal\replication\RevisionDiffCode
public function __construct(RevisionIndexInterface $rev_index, WorkspaceInterface $workspace) {
$this->revIndex = $rev_index;
$this->workspaceId = $workspace
->id();
}