You are here

public function AuditFilesMergeFileReferences::getConfirmText in Audit Files 8

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

File

src/Form/AuditFilesMergeFileReferences.php, line 34

Class

AuditFilesMergeFileReferences

Namespace

Drupal\auditfiles\Form

Code

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