Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
315
Merge Requests
315
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
6389cda9
Commit
6389cda9
authored
Dec 02, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2382239
by chx: InstallerKernel is undocumented and hardwires bootstrap config storage
parent
7c3071b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
core/lib/Drupal/Core/Installer/InstallerKernel.php
core/lib/Drupal/Core/Installer/InstallerKernel.php
+18
-3
No files found.
core/lib/Drupal/Core/Installer/InstallerKernel.php
View file @
6389cda9
...
...
@@ -7,10 +7,7 @@
namespace
Drupal\Core\Installer
;
use
Drupal\Core\DependencyInjection\ContainerBuilder
;
use
Drupal\Core\DrupalKernel
;
use
Drupal\Core\Site\Settings
;
use
Symfony\Component\DependencyInjection\Exception\RuntimeException
;
/**
* Extend DrupalKernel to handle force some kernel behaviors.
...
...
@@ -19,10 +16,28 @@ class InstallerKernel extends DrupalKernel {
/**
* {@inheritdoc}
*
* @param bool $rebuild
* Force a container rebuild. Unlike the parent method, this defaults to
* TRUE.
*/
protected
function
initializeContainer
(
$rebuild
=
TRUE
)
{
$container
=
parent
::
initializeContainer
(
$rebuild
);
return
$container
;
}
/**
* Reset the bootstrap config storage.
*
* Use this from a database driver runTasks() if the method overrides the
* bootstrap config storage. Normally the bootstrap config storage is not
* re-instantiated during a single install request. Most drivers will not
* need this method.
*
* @see \Drupal\Core\Database\Install\Tasks::runTasks().
*/
public
function
resetConfigStorage
()
{
$this
->
configStorage
=
NULL
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment