You are here

public function ReplicateConfirmForm::getConfirmText in Replicate UI 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/ReplicateConfirmForm.php, line 136

Class

ReplicateConfirmForm

Namespace

Drupal\replicate_ui\Form

Code

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