You are here

public function AnonymousPublishingClAdminPrivacy::__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/AnonymousPublishingClAdminPrivacy.php, line 48

Class

AnonymousPublishingClAdminPrivacy

Namespace

Drupal\anonymous_publishing_cl\Form

Code

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