You are here

public function AuditFilesNotInDatabase::getConfirmText in Audit Files 8

Same name and namespace in other branches
  1. 8.3 src/Form/AuditFilesNotInDatabase.php \Drupal\auditfiles\Form\AuditFilesNotInDatabase::getConfirmText()
  2. 8.2 src/Form/AuditFilesNotInDatabase.php \Drupal\auditfiles\Form\AuditFilesNotInDatabase::getConfirmText()
  3. 4.x src/Form/AuditFilesNotInDatabase.php \Drupal\auditfiles\Form\AuditFilesNotInDatabase::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormInterface::getConfirmText

1 call to AuditFilesNotInDatabase::getConfirmText()
AuditFilesNotInDatabase::buildForm in src/Form/AuditFilesNotInDatabase.php
Form constructor.

File

src/Form/AuditFilesNotInDatabase.php, line 33

Class

AuditFilesNotInDatabase

Namespace

Drupal\auditfiles\Form

Code

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