You are here

public function SkinDeleteForm::getConfirmText in Skinr 8.2

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

skinr_ui/src/Form/SkinDeleteForm.php, line 36
Contains \Drupal\skinr_ui\Form\SkinDeleteForm.

Class

SkinDeleteForm
Provides a deletion confirmation form for the skin instance deletion form.

Namespace

Drupal\skinr_ui\Form

Code

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