public function ContactFormDisableForm::getConfirmText in Contact Storage 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/ ContactFormDisableForm.php, line 31
Class
- ContactFormDisableForm
- Provides the contact form disable form.
Namespace
Drupal\contact_storage\FormCode
public function getConfirmText() {
return $this
->t('Disable');
}