public function GoogleImageSitemapDeleteConfirmForm::buildForm in Google Image Sitemap 8
Same name and namespace in other branches
- 2.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::buildForm()
- 1.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfirmFormBase::buildForm
File
- src/
Form/ GoogleImageSitemapDeleteConfirmForm.php, line 68
Class
- GoogleImageSitemapDeleteConfirmForm
- Provides a confirmation form before clearing out the logs.
Namespace
Drupal\google_image_sitemap\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $sitemapId = NULL) {
$this->sitemapId = $sitemapId;
return parent::buildForm($form, $form_state);
}