You are here

public function TextFieldDeleteForm::getConfirmText in Apache Solr Config Generator 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/TextFieldDeleteForm.php, line 35
Contains Drupal\apachesolr_confgen\Form\TextFieldDeleteForm.

Class

TextFieldDeleteForm
Builds the form to delete a TextField.

Namespace

Drupal\apachesolr_confgen\Form

Code

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