You are here

public function CommentThread::__construct in Comment Delete 8

CommentDelete constructor.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

File

src/CommentThread.php, line 29

Class

CommentThread
Service container for comment thread calculations.

Namespace

Drupal\comment_delete

Code

public function __construct(Connection $connection) {
  $this->connection = $connection;
}