You are here

public function FlagMappingDeleteForm::getConfirmText in Flags 8

Gather the confirmation text.

The confirm text is used as the text in the button that confirms the question posed by getQuestion().

Return value

string Translated string.

Overrides EntityConfirmFormBase::getConfirmText

File

flags_ui/src/Form/FlagMappingDeleteForm.php, line 48

Class

FlagMappingDeleteForm
Class FlagMappingDeleteForm.

Namespace

Drupal\flags_ui\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete mapping');
}