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

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

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