Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Protected Member Functions
ModuleDisableCommand Class Reference
Inheritance diagram for ModuleDisableCommand:
AbstractModuleManageCommand AbstractModuleCommand AbstractSetupCommand

Protected Member Functions

 configure ()
 
 isEnable ()
 
- Protected Member Functions inherited from AbstractModuleManageCommand
 configure ()
 
 isModuleRequired ()
 
 validate (array $modules)
 
 isEnable ()
 
- Protected Member Functions inherited from AbstractModuleCommand
 configure ()
 
 isModuleRequired ()
 
- Protected Member Functions inherited from AbstractSetupCommand
 configure ()
 

Additional Inherited Members

- Public Member Functions inherited from AbstractModuleCommand
 __construct (ObjectManagerProvider $objectManagerProvider)
 
- Data Fields inherited from AbstractModuleManageCommand
const INPUT_KEY_ALL = 'all'
 
const INPUT_KEY_FORCE = 'force'
 
- Data Fields inherited from AbstractModuleCommand
const INPUT_KEY_MODULES = 'module'
 
const INPUT_KEY_CLEAR_STATIC_CONTENT = 'clear-static-content'
 
- Protected Attributes inherited from AbstractModuleManageCommand
 $generatedFiles
 
 $deploymentConfig
 
- Protected Attributes inherited from AbstractModuleCommand
 $objectManager
 

Detailed Description

Command for disabling list or all of modules

Definition at line 11 of file ModuleDisableCommand.php.

Member Function Documentation

◆ configure()

configure ( )
protected

{}

Definition at line 16 of file ModuleDisableCommand.php.

17  {
18  $this->setName('module:disable')
19  ->setDescription('Disables specified modules');
20  parent::configure();
21  }

◆ isEnable()

isEnable ( )
protected

Disable modules

Returns
bool

Definition at line 28 of file ModuleDisableCommand.php.

29  {
30  return false;
31  }

The documentation for this class was generated from the following file: