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