You are here

public function AttributeDeleteForm::getConfirmText in Ubercart 8.4

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

uc_attribute/src/Form/AttributeDeleteForm.php, line 39

Class

AttributeDeleteForm
Defines the attribute delete form.

Namespace

Drupal\uc_attribute\Form

Code

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