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

Manages project update information. Hierarchy interface \Drupal\update\UpdateManagerInterface File core/modules/update/src/UpdateManagerInterface.php, line 8 Namespace Drupal\update Members Name Modifiers Type Description UpdateManagerInterface::fetchDataBatch public function Processes a step in batch for fetching available update data. UpdateManagerInterface::getProjects public function Fetches an array of installed and enabled projects. UpdateManagerInterface

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