UpdateRegistry::$keyValue

The key value storage. Type: \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 51 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected $keyValue;

UpdateRegistry::filterOutInvokedUpdatesByModule

public UpdateRegistry::filterOutInvokedUpdatesByModule($module) Filters out already executed update functions by module. Parameters string $module: The module name. File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 254 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code public function filterOutInvokedUpdatesByModule($module) { $existing_update_functions = $this->keyValue->get('existing_updates', []); $remaining_up

UpdateRegistry::$root

The app root. Type: string File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 32 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected $root;

UpdateReady::__construct

public UpdateReady::__construct($root, ModuleHandlerInterface $module_handler, StateInterface $state, $site_path) Constructs a new UpdateReady object. Parameters string $root: The root location under which updated projects will be saved. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The object that manages enabled modules in a Drupal installation. \Drupal\Core\State\StateInterface $state: The state key value store. string $site_path: The site path. File core/modules/update/src

UpdateReady::submitForm

public UpdateReady::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/UpdateReady.php, line 118 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code public function submitForm(arr

UpdateRegistry

Provides all and missing update implementations. Note: This registry is specific to a type of updates, like 'post_update' as example. It therefore scans for functions named like the type of updates, so it looks like MODULE_UPDATETYPE_NAME() with NAME being a machine name. Hierarchy class \Drupal\Core\Update\UpdateRegistry File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 18 Namespace Drupal\Core\Update Members Name Modifiers Type Description UpdateRegistry::$enabledMod

UpdateRegistry::$enabledModules

Type: string[] File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 44 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected $enabledModules;

UpdateReady::getFormId

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

UpdateReady::buildForm

public UpdateReady::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/UpdateReady.php, line 88 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code publi

UpdateReady::$sitePath

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