You are here

public function SolrFieldTypeDeleteForm::getConfirmText in Search API Multilingual Solr Search 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/SolrFieldTypeDeleteForm.php, line 30

Class

SolrFieldTypeDeleteForm
Builds the form to delete a SolrFieldType.

Namespace

Drupal\search_api_solr_multilingual\Form

Code

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