Closed (fixed)
Project:
If Then Else
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 May 2019 at 07:41 UTC
Updated:
14 Jun 2019 at 16:14 UTC
Jump to comment: Most recent
Create an action to unpublish a node.
Thank you
Vishal
Comments
Comment #2
rensingh99 commentedI'll work on this.
Comment #3
rensingh99 commentedI have pushed the code, Please do a code review.
Comment #4
neeravbm commentedHi Ren,
1) Please improve on the validate function its will cause a infinite while loop.
2) Also you are taking a int value please improve to allow an entity object too.
3) Please use coder and improve on the drupal standards.
Thank you,
Neerav.
Comment #5
rensingh99 commentedI have worked for #2, Please do a code review.
Comment #6
rensingh99 commentedI have worked for above changes as per requirement, Please do a code review.
Comment #8
neeravbm commentedI confirm its working now and the code has been improved.
Thank you,
Neerav