You are here

public function ReplicationDeleteForm::getConfirmText in Deploy - Content Staging 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/Entity/Form/ReplicationDeleteForm.php, line 33

Class

ReplicationDeleteForm
Provides a form for deleting Replication entities.

Namespace

Drupal\deploy\Entity\Form

Code

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