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/Form/UpdateReady.php, line 59
Class
- UpdateReady
- Configure update settings for this site.
Namespace
Drupal\update\Form
Code
1 2 3 4 5 6 | public function __construct( $root , ModuleHandlerInterface $module_handler , StateInterface $state , $site_path ) { $this ->root = $root ; $this ->moduleHandler = $module_handler ; $this ->state = $state ; $this ->sitePath = $site_path ; } |
Please login to continue.