You are here

public function PhotosImageDeleteForm::getFormId in Album Photos 8.4

Same name and namespace in other branches
  1. 8.5 src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::getFormId()
  2. 6.0.x src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

src/Form/PhotosImageDeleteForm.php, line 55

Class

PhotosImageDeleteForm
Defines a confirmation form for deleting images.

Namespace

Drupal\photos\Form

Code

public function getFormId() {
  return 'photos_image_confirm_delete';
}