UpdateManagerInstall::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/update/src/Form/UpdateManagerInstall.php, line 23 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $moduleHandler;

UpdateManagerInstall

Configure update settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\update\Form\UpdateManagerInstall File core/modules/update/src/Form/UpdateManagerInstall.php, line 16 Namespace Drupal\update\Form Members Name Modifiers Type Description DependencySerial

UpdateManagerInstall::buildForm

public UpdateManagerInstall::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/update/src/Form/UpdateManagerInstall.php, line 76 Class UpdateManagerInstall Configure update settings for this site. Namespace Dru

UpdateManagerInstall::$sitePath

The site path. Type: string File core/modules/update/src/Form/UpdateManagerInstall.php, line 37 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $sitePath;

UpdateManager::getProjects

public UpdateManager::getProjects() Fetches an array of installed and enabled projects. This is only responsible for generating an array of projects (taking into account projects that include more than one module or theme). Other information like the specific version and install type (official release, dev snapshot, etc) is handled later in update_process_project_info() since that logic is only required when preparing the status report, not for fetching the available release data. This array is

UpdateManager::__construct

public UpdateManager::__construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, UpdateProcessorInterface $update_processor, TranslationInterface $translation, KeyValueFactoryInterface $key_value_expirable_factory, ThemeHandlerInterface $theme_handler) Constructs a UpdateManager. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The Module Handler service \Dr

UpdateManager::refreshUpdateData

public UpdateManager::refreshUpdateData() Clears out all the available update data and initiates re-fetching. Overrides UpdateManagerInterface::refreshUpdateData File core/modules/update/src/UpdateManager.php, line 100 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code public function refreshUpdateData() { // Since we're fetching new available update data, we want to clear // of both the projects we care about, and the current update

UpdateManager::projectStorage

public UpdateManager::projectStorage($key) Retrieves update storage data or empties it. Two very expensive arrays computed by this module are the list of all installed modules and themes (and .info.yml data, project associations, etc), and the current status of the site relative to the currently available releases. These two arrays are stored and used whenever possible. The data is cleared whenever the administrator visits the status report, available updates report, or the module or theme admi

UpdateManager::$updateProcessor

Update Processor Service. Type: \Drupal\update\UpdateProcessorInterface File core/modules/update/src/UpdateManager.php, line 40 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code protected $updateProcessor;

UpdateManager::$projects

An array of installed and enabled projects. Type: array File core/modules/update/src/UpdateManager.php, line 47 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code protected $projects;