You are here

public function RoleSplitEntityDeleteForm::getConfirmText in Config Role Split 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/RoleSplitEntityDeleteForm.php, line 31

Class

RoleSplitEntityDeleteForm
Builds the form to delete Role Split entities.

Namespace

Drupal\config_role_split\Form

Code

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