Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StyleInterface.php

function StyleInterface::confirm

Asks for confirmation.

1 method overrides StyleInterface::confirm()
SymfonyStyle::confirm in vendor/symfony/console/Style/SymfonyStyle.php
Asks for confirmation.

File

vendor/symfony/console/Style/StyleInterface.php, line 84

Class

StyleInterface
Output style helpers.

Namespace

Symfony\Component\Console\Style

Code

public function confirm(string $question, bool $default = true) : bool;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal