You are here

public function UnflaggingForm::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/UnflaggingForm.php, line 54

Class

UnflaggingForm
Provides the confirm form page for unflagging an entity.

Namespace

Drupal\flag\Form

Code

public function getDescription() {
  return $this->flag
    ->getLongText('unflag');
}