public function EnvironmentDeleteForm::getConfirmText in Environment 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/ EnvironmentDeleteForm.php, line 35 - Contains Drupal\environment\Form\EnvironmentDeleteForm.
Class
- EnvironmentDeleteForm
- Builds the form to delete Environment entities.
Namespace
Drupal\environment\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}