You are here

public function LtiToolProviderConsumerDeleteForm::getConfirmText in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x src/Form/LtiToolProviderConsumerDeleteForm.php \Drupal\lti_tool_provider\Form\LtiToolProviderConsumerDeleteForm::getConfirmText()

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/Form/LtiToolProviderConsumerDeleteForm.php, line 38

Class

LtiToolProviderConsumerDeleteForm
Form for deleting a lti_tool_provider_consumer entity.

Namespace

Drupal\lti_tool_provider\Form

Code

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