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::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::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();

UpdateManagerUpdate

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\UpdateManagerUpdate File core/modules/update/src/Form/UpdateManagerUpdate.php, line 15 Namespace Drupal\update\Form Members Name Modifiers Type Description DependencySerializ

UpdateManagerUpdate::$moduleHandler

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

UpdateManagerUpdate::$state

The Drupal state storage service. Type: \Drupal\Core\State\StateInterface File core/modules/update/src/Form/UpdateManagerUpdate.php, line 29 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal\update\Form Code protected $state;

UpdateManagerUpdate::buildForm

public UpdateManagerUpdate::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/UpdateManagerUpdate.php, line 64 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal

UpdateManagerUpdate::create

public static UpdateManagerUpdate::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 serv

UpdateManagerUpdate::getFormId

public UpdateManagerUpdate::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/UpdateManagerUpdate.php, line 47 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal\update\Form Code public function getFormId() { return 'update_manager_update_form'; }