public function PhotosImageDeleteForm::getDescription in Album Photos 8.4
Same name and namespace in other branches
- 8.5 src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::getDescription()
- 6.0.x src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- src/
Form/ PhotosImageDeleteForm.php, line 78
Class
- PhotosImageDeleteForm
- Defines a confirmation form for deleting images.
Namespace
Drupal\photos\FormCode
public function getDescription() {
return t('Only do this if you are sure!');
}