You are here

public function AuditFilesUsedNotManaged::getConfirmText in Audit Files 8

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

File

src/Form/AuditFilesUsedNotManaged.php, line 33

Class

AuditFilesUsedNotManaged
Class for file used but not managed.

Namespace

Drupal\auditfiles\Form

Code

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