public function PhotosImageDeleteForm::getDescription in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/Form/PhotosImageDeleteForm.php \Drupal\photos\Form\PhotosImageDeleteForm::getDescription()
- 8.4 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 ContentEntityConfirmFormBase::getDescription
File
- src/
Form/ PhotosImageDeleteForm.php, line 29
Class
- PhotosImageDeleteForm
- Defines a confirmation form for deleting images.
Namespace
Drupal\photos\FormCode
public function getDescription() {
return $this
->t('Only do this if you are sure!');
}