You are here

public function CmisConnectionEntityDeleteForm::getConfirmText in CMIS API 8

Same name and namespace in other branches
  1. 8.2 src/Form/CmisConnectionEntityDeleteForm.php \Drupal\cmis\Form\CmisConnectionEntityDeleteForm::getConfirmText()
  2. 3.0.x src/Form/CmisConnectionEntityDeleteForm.php \Drupal\cmis\Form\CmisConnectionEntityDeleteForm::getConfirmText()

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/CmisConnectionEntityDeleteForm.php, line 30

Class

CmisConnectionEntityDeleteForm
Builds the form to delete CMIS connection entities.

Namespace

Drupal\cmis\Form

Code

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