UpdateManagerInterface::getProjects

public UpdateManagerInterface::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

UpdateManagerInterface::projectStorage

public UpdateManagerInterface::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 t

UpdateManagerInterface::fetchDataBatch

public UpdateManagerInterface::fetchDataBatch(&$context) Processes a step in batch for fetching available update data. Parameters array $context: Reference to an array used for Batch API storage. File core/modules/update/src/UpdateManagerInterface.php, line 63 Class UpdateManagerInterface Manages project update information. Namespace Drupal\update Code public function fetchDataBatch(&$context);

UpdateManagerInterface::refreshUpdateData

public UpdateManagerInterface::refreshUpdateData() Clears out all the available update data and initiates re-fetching. File core/modules/update/src/UpdateManagerInterface.php, line 68 Class UpdateManagerInterface Manages project update information. Namespace Drupal\update Code public function refreshUpdateData();

UpdateManagerInstall::create

public static UpdateManagerInstall::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 ser

UpdateManagerInstall::submitForm

public UpdateManagerInstall::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/update/src/Form/UpdateManagerInstall.php, line 134 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code pub

UpdateManagerInstall::getFormId

public UpdateManagerInstall::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/update/src/Form/UpdateManagerInstall.php, line 58 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_install_form'; }

UpdateManagerInstall::__construct

public UpdateManagerInstall::__construct($root, ModuleHandlerInterface $module_handler, $site_path) Constructs a new UpdateManagerInstall. Parameters string $root: The root location under which installed projects will be saved. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. string $site_path: The site path. File core/modules/update/src/Form/UpdateManagerInstall.php, line 49 Class UpdateManagerInstall Configure update settings for this site. Namespace

UpdateManagerInstall::validateForm

public UpdateManagerInstall::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/update/src/Form/UpdateManagerInstall.php, line 124 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code publ

UpdateManagerInstall::$root

The root location under which installed projects will be saved. Type: string File core/modules/update/src/Form/UpdateManagerInstall.php, line 30 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code protected $root;