You are here

public function ConfigDeleteConfirm::getConfirmText in Demonstration site (Sandbox / Snapshot) 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/ConfigDeleteConfirm.php, line 76

Class

ConfigDeleteConfirm
confirms the deletion of config deletion

Namespace

Drupal\demo\Form

Code

public function getConfirmText() {
  return t('Delete');
}