You are here

public function ContentTypeConfigurationDeleteForm::getConfirmText in Node Revision Delete 8

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/ContentTypeConfigurationDeleteForm.php, line 75

Class

ContentTypeConfigurationDeleteForm
Provides a content type configuration deletion confirmation form.

Namespace

Drupal\node_revision_delete\Form

Code

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