You are here

public function CropTypeDeleteForm::getConfirmText in Crop API 8.2

Same name and namespace in other branches
  1. 8 src/Form/CropTypeDeleteForm.php \Drupal\crop\Form\CropTypeDeleteForm::getConfirmText()

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/CropTypeDeleteForm.php, line 60

Class

CropTypeDeleteForm
Provides a form for crop type deletion.

Namespace

Drupal\crop\Form

Code

public function getConfirmText() {
  return t('Delete');
}