public function ReindexConfirm::getConfirmText in Drupal 8
Same name and namespace in other branches
- 9 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::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
- core/
modules/ search/ src/ Form/ ReindexConfirm.php, line 40
Class
- ReindexConfirm
- Provides the search reindex confirmation form.
Namespace
Drupal\search\FormCode
public function getConfirmText() {
return $this
->t('Re-index site');
}