You are here

public function GoogleImageSitemapDeleteConfirmForm::__construct in Google Image Sitemap 1.0.x

Same name and namespace in other branches
  1. 8 src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::__construct()
  2. 2.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::__construct()

Constructs a new DblogClearLogConfirmForm.

Parameters

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

File

src/Form/GoogleImageSitemapDeleteConfirmForm.php, line 31

Class

GoogleImageSitemapDeleteConfirmForm
Provides a confirmation form before clearing out the logs.

Namespace

Drupal\google_image_sitemap\Form

Code

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