Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
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_cfg_common
Commits
9702c360
Commit
9702c360
authored
4 years ago
by
Lily Yan
Browse files
Options
Downloads
Patches
Plain Diff
Coding standards
parent
5516d094
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Feature/istwcms 4209 l26yan remove preview button
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Form/UwContentModerationForm.php
+1
-1
1 addition, 1 deletion
src/Form/UwContentModerationForm.php
with
1 addition
and
1 deletion
src/Form/UwContentModerationForm.php
+
1
−
1
View file @
9702c360
...
@@ -104,7 +104,7 @@ class UwContentModerationForm extends ConfirmFormBase {
...
@@ -104,7 +104,7 @@ class UwContentModerationForm extends ConfirmFormBase {
$node
=
$this
->
entityTypeManager
->
getStorage
(
'node'
)
->
load
(
$this
->
nid
);
$node
=
$this
->
entityTypeManager
->
getStorage
(
'node'
)
->
load
(
$this
->
nid
);
// Return the question to see if they want to publish the node.
// Return the question to see if they want to publish the node.
return
t
(
'Are you sure you want to unpublish %node_title?'
,
[
'%node_title'
=>
$node
->
getTitle
()]);
return
$this
->
t
(
'Are you sure you want to unpublish %node_title?'
,
[
'%node_title'
=>
$node
->
getTitle
()]);
}
}
/**
/**
...
...
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