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

Breadcrumb

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

function Command::ignoreValidationErrors

Ignores validation errors.

This is mainly useful for the help command.

6 calls to Command::ignoreValidationErrors()
HelpCommand::configure in vendor/symfony/console/Command/HelpCommand.php
Configures the current command.
ScriptAliasCommand::__construct in vendor/composer/composer/src/Composer/Command/ScriptAliasCommand.php
TraceableCommand::ignoreValidationErrors in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {
TraceableCommand::ignoreValidationErrors in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {
TraceableCommand::__construct in vendor/symfony/console/Command/TraceableCommand.php

... See full list

2 methods override Command::ignoreValidationErrors()
LazyCommand::ignoreValidationErrors in vendor/symfony/console/Command/LazyCommand.php
Ignores validation errors.
TraceableCommand::ignoreValidationErrors in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {

File

vendor/symfony/console/Command/Command.php, line 111

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function ignoreValidationErrors() : void {
    $this->ignoreValidationErrors = true;
}

API Navigation

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