public function RevisionTracker::__construct in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/RevisionTracker.php \Drupal\workbench_moderation\RevisionTracker::__construct()
RevisionTracker constructor.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
string $table: The table that should be used for tracking.
File
- src/
RevisionTracker.php, line 36
Class
- RevisionTracker
- Tracks metadata about revisions across entities.
Namespace
Drupal\workbench_moderationCode
public function __construct(Connection $connection, $table = 'workbench_revision_tracker') {
$this->connection = $connection;
$this->tableName = $table;
}