You are here

public function ServiceEndpointDeleteForm::getConfirmText in Services 9.0.x

Same name and namespace in other branches
  1. 8.4 src/Form/ServiceEndpointDeleteForm.php \Drupal\services\Form\ServiceEndpointDeleteForm::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/ServiceEndpointDeleteForm.php, line 30

Class

ServiceEndpointDeleteForm
Builds the form to delete service endpoint entities.

Namespace

Drupal\services\Form

Code

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