You are here

public function ApiDocDeleteForm::getConfirmText in Apigee API Catalog 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Entity/Form/ApiDocDeleteForm.php, line 93

Class

ApiDocDeleteForm
Provides a form for deleting API Doc entities.

Namespace

Drupal\apigee_api_catalog\Entity\Form

Code

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