public function SocialAlbumImageForm::getDescription in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::getDescription()
- 10.0.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::getDescription()
- 10.1.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ContentEntityConfirmFormBase::getDescription
File
- modules/
social_features/ social_album/ src/ Form/ SocialAlbumImageForm.php, line 60
Class
- SocialAlbumImageForm
- Provides a form for deleting album post entities.
Namespace
Drupal\social_album\FormCode
public function getDescription() {
return $this
->t('Deleting this image will also delete it from the post it belongs to.');
}