public function OrderUnlockForm::getConfirmText in Commerce Core 8.2
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- modules/
order/ src/ Form/ OrderUnlockForm.php, line 25
Class
- OrderUnlockForm
- Provides a confirmation form for unlocking orders.
Namespace
Drupal\commerce_order\FormCode
public function getConfirmText() {
return $this
->t('Unlock');
}