You are here

public function FlowDeleteForm::getConfirmText in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Form/FlowDeleteForm.php \Drupal\cms_content_sync\Form\FlowDeleteForm::getConfirmText()
  2. 2.0.x src/Form/FlowDeleteForm.php \Drupal\cms_content_sync\Form\FlowDeleteForm::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/FlowDeleteForm.php, line 68

Class

FlowDeleteForm
Builds the form to delete an Flow.

Namespace

Drupal\cms_content_sync\Form

Code

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