Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_custom_blocks
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_custom_blocks
Commits
15edad04
Commit
15edad04
authored
11 months ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6573: coding standards
parent
e309997a
No related branches found
Branches containing commit
No related tags found
1 merge request
!194
ISTWCMS-6573: removing jsonapi config and adding update hook to delete jsonapi config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_custom_blocks.install
+2
-2
2 additions, 2 deletions
uw_custom_blocks.install
with
2 additions
and
2 deletions
uw_custom_blocks.install
+
2
−
2
View file @
15edad04
...
@@ -561,8 +561,8 @@ function _uw_custom_blocks_special_alert_configuration(array $existing_settings
...
@@ -561,8 +561,8 @@ function _uw_custom_blocks_special_alert_configuration(array $existing_settings
/**
/**
* Delete special alert blocks if there is more than one found.
* Delete special alert blocks if there is more than one found.
*/
*/
function
uw_custom_blocks_update_9108
(
&
$sandbox
)
function
uw_custom_blocks_update_9108
(
&
$sandbox
)
{
{
$storage
=
\Drupal
::
entityTypeManager
()
->
getStorage
(
'block'
);
$storage
=
\Drupal
::
entityTypeManager
()
->
getStorage
(
'block'
);
$all_blocks
=
$storage
->
loadByProperties
([
$all_blocks
=
$storage
->
loadByProperties
([
...
...
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