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

Breadcrumb

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

function Command::setHidden

Parameters

bool $hidden Whether or not the command should be hidden from the list of commands:

Return value

$this

1 call to Command::setHidden()
Command::__construct in vendor/symfony/console/Command/Command.php

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function setHidden(bool $hidden = true) : static {
    $this->hidden = $hidden;
    return $this;
}

API Navigation

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