You are here

public function RoleLoginPageSettingsDelete::getConfirmText in Multiple role login pages 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/RoleLoginPageSettingsDelete.php, line 62
Contains \Drupal\role_login_page\Form\RoleLoginPageSettingsDelete.

Class

RoleLoginPageSettingsDelete
Delete login page form.

Namespace

Drupal\role_login_page\Form

Code

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