‪TYPO3CMS  11.5
TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand:

Public Member Functions

 __construct (EventDispatcherInterface $eventDispatcher, InstallUtility $installUtility)
 
 isEnabled ()
 

Protected Member Functions

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

Private Attributes

EventDispatcherInterface $eventDispatcher
 
InstallUtility $installUtility
 

Detailed Description

Command for activating an existing extension via CLI.

Definition at line 34 of file ActivateExtensionCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand::__construct ( EventDispatcherInterface  $eventDispatcher,
InstallUtility  $installUtility 
)

Member Function Documentation

◆ configure()

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

Defines the allowed options for this command

Definition at line 66 of file ActivateExtensionCommand.php.

◆ execute()

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

Installs an extension

Definition at line 84 of file ActivateExtensionCommand.php.

References $output, and TYPO3\CMS\Core\Core\Bootstrap\initializeBackendAuthentication().

◆ isEnabled()

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

This command is not needed in composer mode.

Definition at line 58 of file ActivateExtensionCommand.php.

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

Member Data Documentation

◆ $eventDispatcher

EventDispatcherInterface TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand::$eventDispatcher
private

◆ $installUtility

InstallUtility TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand::$installUtility
private