You are here

public function ContactFormEnableForm::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/ContactFormEnableForm.php, line 31

Class

ContactFormEnableForm
Provides the contact form enable form.

Namespace

Drupal\contact_storage\Form

Code

public function getConfirmText() {
  return $this
    ->t('Enable');
}