You are here

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

Class

FlagConfirmForm
Provides the confirm form page for flagging an entity.

Namespace

Drupal\flag\Form

Code

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