DbUpdateController::create

public static DbUpdateController::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 servi

DbUpdateController::batchFinished

public static DbUpdateController::batchFinished($success, $results, $operations) Finishes the update process and stores the results for eventual display. After the updates run, all caches are flushed. The update results are stored into the session (for example, to be displayed on the update results page in update.php). Additionally, if the site was off-line, now that the update process is completed, the site is set back online. Parameters $success: Indicate that the batch API tasks were all co

DbUpdateController::$state

The state service. Type: \Drupal\Core\State\StateInterface File core/modules/system/src/Controller/DbUpdateController.php, line 43 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $state;

DbUpdateController::$root

The app root. Type: string File core/modules/system/src/Controller/DbUpdateController.php, line 71 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $root;

DbUpdateController::$postUpdateRegistry

The post update registry. Type: \Drupal\Core\Update\UpdateRegistry File core/modules/system/src/Controller/DbUpdateController.php, line 78 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $postUpdateRegistry;

DbUpdateController::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface Overrides ControllerBase::$moduleHandler File core/modules/system/src/Controller/DbUpdateController.php, line 50 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $moduleHandler;

DbUpdateController::$keyValueExpirableFactory

The keyvalue expirable factory. Type: \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface File core/modules/system/src/Controller/DbUpdateController.php, line 29 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $keyValueExpirableFactory;

DbUpdateController::$cache

A cache backend interface. Type: \Drupal\Core\Cache\CacheBackendInterface File core/modules/system/src/Controller/DbUpdateController.php, line 36 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $cache;

DbUpdateController::$bareHtmlPageRenderer

The bare HTML page renderer. Type: \Drupal\Core\Render\BareHtmlPageRendererInterface File core/modules/system/src/Controller/DbUpdateController.php, line 64 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $bareHtmlPageRenderer;

DbUpdateController::$account

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/system/src/Controller/DbUpdateController.php, line 57 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $account;