public function CheckDisableForm::getConfirmText in Production check & Production monitor 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/ CheckDisableForm.php, line 31
Class
- CheckDisableForm
- Provides the production check disable form.
Namespace
Drupal\prod_check\FormCode
public function getConfirmText() {
return $this
->t('Disable');
}