You are here

public function ExportConfirmForm::getConfirmText in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::getConfirmText()
  2. 3.x src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/ExportConfirmForm.php, line 90

Class

ExportConfirmForm
Class ExportConfirmForm.

Namespace

Drupal\content_synchronizer\Form

Code

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