diff --git a/src/Controller/PublishContentPublishEntity.php b/src/Controller/PublishContentPublishEntity.php
index 854460e..d39f06b 100644
--- a/src/Controller/PublishContentPublishEntity.php
+++ b/src/Controller/PublishContentPublishEntity.php
@@ -5,11 +5,13 @@ namespace Drupal\publishcontent\Controller;
 use Drupal\node\NodeInterface;
 use Symfony\Component\HttpFoundation\RedirectResponse;
 use Drupal\Core\Url;
+use Drupal\Core\StringTranslation\StringTranslationTrait;
 
 /**
  * Toggles node status.
  */
 class PublishContentPublishEntity {
+  use StringTranslationTrait;
 
   /**
    * Toggle node status.
@@ -23,7 +25,13 @@ class PublishContentPublishEntity {
   public function toggleEntityStatus(NodeInterface $node) {
     $node->setPublished(!$node->isPublished());
     $node->save();
-
+    $status = (!$node->isPublished()) ? 'unpublished' : 'published';
+    drupal_set_message($this->t('@title has been @status',
+    [
+      '@title' => $node->getTitle(),
+      '@status' => $status,
+    ]
+    ));
     $redirectUrl = Url::fromUri(\Drupal::request()->server->get('HTTP_REFERER'), ['absolute' => TRUE])->getUri();
 
     return new RedirectResponse($redirectUrl);
