You are here

public function AuditFilesNotOnServer::getConfirmText in Audit Files 8.2

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

File

src/Form/AuditFilesNotOnServer.php, line 100

Class

AuditFilesNotOnServer
Form for File not on server functionality.

Namespace

Drupal\auditfiles\Form

Code

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