‪TYPO3CMS  ‪main
TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand:

Public Member Functions

 __construct (private readonly InstallUtility $installUtility)
 
 isEnabled ()
 

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 

Detailed Description

Command for deactivating an extension via CLI.

Definition at line 33 of file DeactivateExtensionCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand::__construct ( private readonly InstallUtility  $installUtility)

Definition at line 35 of file DeactivateExtensionCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand::configure ( )
protected

Defines the allowed options for this command

Definition at line 51 of file DeactivateExtensionCommand.php.

◆ execute()

TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Installs an extension

Definition at line 66 of file DeactivateExtensionCommand.php.

References $GLOBALS, $output, and TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\REQUESTTYPE_BE.

◆ isEnabled()

TYPO3\CMS\Extensionmanager\Command\DeactivateExtensionCommand::isEnabled ( )

This command is not needed in composer mode.

Definition at line 43 of file DeactivateExtensionCommand.php.

References TYPO3\CMS\Core\Core\Environment\isComposerMode().