ReindexConfirm::getConfirmText

public ReindexConfirm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/search/src/Form/ReindexConfirm.php, line 38

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

public function getConfirmText() {
  return $this->t('Re-index site');
}
doc_Drupal
2016-10-29 09:37:19
Comments
Leave a Comment

Please login to continue.