You are here

public function ModulesListConfirmForm::getConfirmText in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/system/src/Form/ModulesListConfirmForm.php, line 97
Contains \Drupal\system\Form\ModulesListConfirmForm.

Class

ModulesListConfirmForm
Builds a confirmation form for enabling modules with dependencies.

Namespace

Drupal\system\Form

Code

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