Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
24aa9143
Commit
24aa9143
authored
13 years ago
by
Jess
Browse files
Options
Downloads
Patches
Plain Diff
Fix some trailing whitespace.
parent
260ae131
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/includes/config.inc
+3
-3
3 additions, 3 deletions
core/includes/config.inc
with
3 additions
and
3 deletions
core/includes/config.inc
+
3
−
3
View file @
24aa9143
...
...
@@ -62,7 +62,7 @@ function config_install_default_config($module) {
*
* You can pass a prefix 'core.entity.node_type' and get back an array of the
* filenames that match. This allows you to iterate through all files in a
* branch.
* branch.
*
* @param $prefix
* The prefix of the files we are searching for.
...
...
@@ -127,7 +127,7 @@ function config_get_verified_storage_names_with_prefix($prefix = '') {
* An instance of the class specified in the $class parameter.
*
* @todo Replace this with an appropriate factory / ability to inject in
* alternate storage engines..
* alternate storage engines..
*/
function
config
(
$name
,
$class
=
'Drupal\Core\Config\DrupalConfig'
)
{
return
new
$class
(
new
DrupalVerifiedStorageSQL
(
$name
));
...
...
@@ -150,7 +150,7 @@ function config_decode($data) {
// This is the fastest and easiest way to get from a string of XML to a PHP
// array since SimpleXML and json_decode()/encode() are native to PHP. Our
// only other choice would be a custom userspace implementation which would
// be a lot less performant and more complex.
// be a lot less performant and more complex.
$xml
=
new
SimpleXMLElement
(
$data
);
$json
=
json_encode
(
$xml
);
return
json_decode
(
$json
,
TRUE
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment