You are here

public function SalesforceAuthRevokeForm::getConfirmText in Salesforce Suite 5.0.x

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

Class

SalesforceAuthRevokeForm
Class SalesforceAuthRevokeForm.

Namespace

Drupal\salesforce\Form

Code

public function getConfirmText() {
  return $this
    ->t('Revoke Auth Token');
}