You are here

public function AuditFilesUsedNotReferenced::getConfirmText in Audit Files 4.x

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

Class

AuditFilesUsedNotReferenced
File used but not referenced functionality.

Namespace

Drupal\auditfiles\Form

Code

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