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

The filename of the log file. Type: string File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 39 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected $logFilename;

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;

UpdateRegistry::$sitePath

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

UpdateRegistry::$updateType

The used update name. Type: string File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 25 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected $updateType = 'post_update';

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

protected UpdateRegistry::getAvailableUpdateFunctions() Gets all available update functions. Return value callable[] A list of update functions. File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 95 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code protected function getAvailableUpdateFunctions() { $regexp = '/^(?<module>.+)_' . $this->updateType . '_(?<name>.+)$/'; $functions = get_defined_functions();

UpdateRegistry::getModuleUpdateFunctions

public UpdateRegistry::getModuleUpdateFunctions($module_name) Returns all available updates for a given module. Parameters string $module_name: The module name. Return value callable[] A list of update functions. File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 224 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code public function getModuleUpdateFunctions($module_name) { $this->scanExtensionsAndLoadUpdateFiles(); $a

UpdateRegistry::getPendingUpdateFunctions

public UpdateRegistry::getPendingUpdateFunctions() Find all update functions that haven't been executed. Return value callable[] A list of update functions. File core/lib/Drupal/Core/Update/UpdateRegistry.php, line 121 Class UpdateRegistry Provides all and missing update implementations. Namespace Drupal\Core\Update Code public function getPendingUpdateFunctions() { // We need a) the list of active modules (we get that from the config // bootstrap factory) and b) the path to the m

UpdateRegistry::getPendingUpdateInformation

public UpdateRegistry::getPendingUpdateInformation() Returns a list of all the pending updates. Return value array[] An associative array keyed by module name which contains all information about database updates that need to be run, and any updates that are not going to proceed due to missing requirements. The subarray for each module can contain the following keys: start: The starting update that is to be processed. If this does not exist then do not process any updates for this module as t