You are here

public function CategoryDeleteForm::getConfirmText in Mass Contact 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/CategoryDeleteForm.php, line 31

Class

CategoryDeleteForm
Builds the form to delete Mass contact category entities.

Namespace

Drupal\mass_contact\Form

Code

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