ActivateExtensionCommand

class \TYPO3\CMS\Extensionmanager\Command\ActivateExtensionCommand

Extends
Command

Command for activating an existing extension via CLI.

Table of Contents

Methods

__construct()  : mixed
isEnabled()  : bool
This command is not needed in composer mode.
configure()  : void
Defines the allowed options for this command
execute()  : int
Installs an extension

Methods

__construct()

public __construct(EventDispatcherInterface $eventDispatcher, InstallUtility $installUtility) : mixed

Parameters

$eventDispatcher : EventDispatcherInterface
$installUtility : InstallUtility

isEnabled()

This command is not needed in composer mode.

public isEnabled() : bool

Return values

bool

configure()

Defines the allowed options for this command

protected configure() : void

execute()

Installs an extension

protected execute(InputInterface $input, OutputInterface $output) : int

Parameters

$input : InputInterface
$output : OutputInterface

Return values

int
On this page