You are here

public function AuditFilesUsedNotReferenced::getConfirmText in Audit Files 8

Same name and namespace in other branches
  1. 8.3 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::getConfirmText()
  2. 8.2 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::getConfirmText()
  3. 4.x src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::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 AuditFilesUsedNotReferenced::getConfirmText()
AuditFilesUsedNotReferenced::buildForm in src/Form/AuditFilesUsedNotReferenced.php
Form constructor.

File

src/Form/AuditFilesUsedNotReferenced.php, line 34

Class

AuditFilesUsedNotReferenced

Namespace

Drupal\auditfiles\Form

Code

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