You are here

public function OrganizationRevisionDeleteForm::getConfirmText in Drupal PM (Project Management) 4.x

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

modules/pm_organization/src/Form/OrganizationRevisionDeleteForm.php, line 82

Class

OrganizationRevisionDeleteForm
Provides a form for deleting a Organization revision.

Namespace

Drupal\pm_organization\Form

Code

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