public function UnflagConfirmForm::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/ UnflagConfirmForm.php, line 32
Class
- UnflagConfirmForm
- Provides the confirm form page for unflagging an entity.
Namespace
Drupal\flag\FormCode
public function getDescription() {
return $this->flag
->getLongText('unflag');
}