public function PrepareUninstallForm::getConfirmText in Commerce Stock 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- modules/
local_storage/ src/ Form/ PrepareUninstallForm.php, line 72
Class
- PrepareUninstallForm
- The always in stock field uninstall form.
Namespace
Drupal\commerce_stock_local\FormCode
public function getConfirmText() {
return $this
->t('Delete all commerce_stock_always_in_stock field values');
}