You are here

public function RouterRebuildConfirmForm::getConfirmText in Devel 8

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

src/Form/RouterRebuildConfirmForm.php, line 73

Class

RouterRebuildConfirmForm
Provides confirmation form for rebuilding the routes.

Namespace

Drupal\devel\Form

Code

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