You are here

public function ConnectionTypeDeleteForm::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_connection/src/Form/ConnectionTypeDeleteForm.php, line 30

Class

ConnectionTypeDeleteForm
Builds the form to delete Connection type entities.

Namespace

Drupal\redhen_connection\Form

Code

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