Skip to content
Snippets Groups Projects
Commit 9702c360 authored by Lily Yan's avatar Lily Yan
Browse files

Coding standards

parent 5516d094
No related branches found
No related tags found
1 merge request!14Feature/istwcms 4209 l26yan remove preview button
...@@ -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()]);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment