You are here

public function ExportUserConfirm::getConfirmText in Open Social 8

Same name and namespace in other branches
  1. 8.2 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::getConfirmText()
  2. 8.3 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::getConfirmText()
  3. 8.4 modules/social_features/social_user_export/src/Form/ExportUserConfirm.php \Drupal\social_user_export\Form\ExportUserConfirm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

modules/social_features/social_user_export/src/Form/ExportUserConfirm.php, line 93

Class

ExportUserConfirm
Class ExportUserConfirm.

Namespace

Drupal\social_user_export\Form

Code

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