You are here

public function InformBlockDeleteForm::getConfirmText in Data Policy 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/InformBlockDeleteForm.php, line 33

Class

InformBlockDeleteForm
Builds the form to delete an Inform Block.

Namespace

Drupal\data_policy\Form

Code

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