You are here

public function AuditFilesReferencedNotUsed::getConfirmText in Audit Files 8.2

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

File

src/Form/AuditFilesReferencedNotUsed.php, line 88

Class

AuditFilesReferencedNotUsed
Form for Files referenced not used functionality.

Namespace

Drupal\auditfiles\Form

Code

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