You are here

public function ConnectionRoleDeleteForm::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/ConnectionRoleDeleteForm.php, line 30

Class

ConnectionRoleDeleteForm
Builds the form to delete Connection Role entities.

Namespace

Drupal\redhen_connection\Form

Code

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