public function FlagResetForm::getDescription in Flag 8.4
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- src/
Form/ FlagResetForm.php, line 77
Class
- FlagResetForm
- Provides the flag reset form.
Namespace
Drupal\flag\FormCode
public function getDescription() {
return $this
->t('All flaggings created with Flag %label will be deleted.', [
'%label' => $this->flag
->label(),
]);
}