ModulesListForm::create

public static ModulesListForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

ModulesListForm::buildRow

protected ModulesListForm::buildRow(array $modules, Extension $module, $distribution) Builds a table row for the system modules page. Parameters array $modules: The list existing modules. \Drupal\Core\Extension\Extension $module: The module for which to build the form row. $distribution: Return value array The form row for the given module. File core/modules/system/src/Form/ModulesListForm.php, line 201 Class ModulesListForm Provides module installation interface. Namespace Drupal\sys

ModulesListForm::buildModuleList

protected ModulesListForm::buildModuleList(FormStateInterface $form_state) Helper function for building a list of modules to install. Parameters \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array An array of modules to install and their dependencies. File core/modules/system/src/Form/ModulesListForm.php, line 359 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected function buildModu

ModulesListForm::buildForm

public ModulesListForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/system/src/Form/ModulesListForm.php, line 115 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form

ModulesListForm::$permissionHandler

The permission handler. Type: \Drupal\user\PermissionHandlerInterface File core/modules/system/src/Form/ModulesListForm.php, line 64 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $permissionHandler;

ModulesListForm::$moduleInstaller

The module installer. Type: \Drupal\Core\Extension\ModuleInstallerInterface File core/modules/system/src/Form/ModulesListForm.php, line 57 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $moduleInstaller;

ModulesListForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/Form/ModulesListForm.php, line 43 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $moduleHandler;

ModulesListForm::$keyValueExpirable

The expirable key value store. Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/system/src/Form/ModulesListForm.php, line 50 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $keyValueExpirable;

ModulesListForm::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/system/src/Form/ModulesListForm.php, line 36 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $currentUser;

ModulesListForm

Provides module installation interface. The list of modules gets populated by module.info.yml files, which contain each module's name, description, and information about which modules it requires. See \Drupal\Core\Extension\InfoParser for info on module.info.yml descriptors. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, String