You are here

public function ConfigSplitEntityDeleteForm::getConfirmText in Configuration Split 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ConfigSplitEntityDeleteForm.php \Drupal\config_split\Form\ConfigSplitEntityDeleteForm::getConfirmText()

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/ConfigSplitEntityDeleteForm.php, line 31

Class

ConfigSplitEntityDeleteForm
Builds the form to delete Configuration Split setting entities.

Namespace

Drupal\config_split\Form

Code

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