You are here

public function AnonymousPublishingClAdminSpam::__construct in Anonymous Publishing 8

Constructs a \Drupal\anonymous_publishing_cl\Form\AnonymousPublishingClAdminModeration object.

Parameters

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

\Drupal\Core\Datetime\DateFormatter: The date formatter service.

File

modules/anonymous_publishing_cl/src/Form/AnonymousPublishingClAdminSpam.php, line 43

Class

AnonymousPublishingClAdminSpam

Namespace

Drupal\anonymous_publishing_cl\Form

Code

public function __construct(Connection $database, DateFormatter $date_formatter) {
  $this->database = $database;
  $this->dateFormatter = $date_formatter;
}