You are here

public function AuditFilesManagedNotUsed::getConfirmText in Audit Files 8

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

File

src/Form/AuditFilesManagedNotUsed.php, line 34

Class

AuditFilesManagedNotUsed

Namespace

Drupal\auditfiles\Form

Code

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