You are here

public function MappedObjectDeleteForm::getConfirmText in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping_ui/src/Form/MappedObjectDeleteForm.php \Drupal\salesforce_mapping_ui\Form\MappedObjectDeleteForm::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

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

Class

MappedObjectDeleteForm
Provides a form for deleting a salesforce_mapped_oject entity.

Namespace

Drupal\salesforce_mapping_ui\Form

Code

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