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

Breadcrumb

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

function TraceableCommand::ignoreValidationErrors

Calling parent method is required to be used in {

Overrides Command::ignoreValidationErrors

See also

parent::run()}.

File

vendor/symfony/console/Command/TraceableCommand.php, line 129

Class

TraceableCommand
@internal

Namespace

Symfony\Component\Console\Command

Code

public function ignoreValidationErrors() : void {
    $this->ignoreValidation = true;
    $this->command
        ->ignoreValidationErrors();
    parent::ignoreValidationErrors();
}
RSS feed
Powered by Drupal