You are here

public function MappedObjectDeleteForm::getConfirmText in Salesforce Suite 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

modules/salesforce_mapping/src/Form/MappedObjectDeleteForm.php, line 36

Class

MappedObjectDeleteForm
Provides a form for deleting a salesforce_mapped_oject entity.

Namespace

Drupal\salesforce_mapping\Form

Code

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