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

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

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

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

public static UpdateReady::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 service cont

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