You are here

public function OrgTypeDeleteForm::getConfirmText in RedHen CRM 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

modules/redhen_org/src/Form/OrgTypeDeleteForm.php, line 30

Class

OrgTypeDeleteForm
Builds the form to delete Org type entities.

Namespace

Drupal\redhen_org\Form

Code

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