I checked your video. It's really helpful. Some questions are here. 1) I want to set the condition based on STATE / STATUS, based on content submitted & reviewed against your content. 1.1 So here is the case If content SUBMITTED then the user can't edit the content. 1.2 If the STATE / STATUS is in draft / revision content then the user should edit the content. Please let me know which HOOK should I use based on the state / status of the content. BTW I can't drop a message in your linkedin. Thanks
@Saranya Ashokkumar Yes Thanks for your reply! We have two user roles 1) Teacher 2) Approver Teacher will add the course Teacher will add the course & status will be Draft until not Submitted by teacher. Teacher can see 2 select options 1) Draft => Still Edit the content. 2) Submitted -> Don't add / edit content
@@dharmeshpatel4468 You can do this with the workflow contrib module. Please have a look at this video that I posted. ua-cam.com/video/HiwPSIFu3Ec/v-deo.html
Nice
Thanks
Valuable Video, my concept regarding entity is clear now.
Thank you
Can you please Provide a overall drupal pdf .. Its helpful more for better understand.
Sure, I will update it in git and share with you soon.
Thanks,
Its really helpful, I check your all videoes. Can you make a vedio for How to create a Custom entity and custom rest API's?
Sure will post in the future. many are in the queue. Please wait for it.
I checked your video. It's really helpful.
Some questions are here.
1) I want to set the condition based on STATE / STATUS, based on content submitted & reviewed against your content.
1.1 So here is the case If content SUBMITTED then the user can't edit the content.
1.2 If the STATE / STATUS is in draft / revision content then the user should edit the content.
Please let me know which HOOK should I use based on the state / status of the content.
BTW I can't drop a message in your linkedin.
Thanks
@dharmesh can you please elaborate on the usecase. Do you mean any particular role of the user? Who can do the action.
@Saranya Ashokkumar Yes
Thanks for your reply!
We have two user roles
1) Teacher
2) Approver
Teacher will add the course
Teacher will add the course & status will be Draft until not Submitted by teacher.
Teacher can see 2 select options
1) Draft => Still Edit the content.
2) Submitted -> Don't add / edit content
@@dharmeshpatel4468 You can do this with the workflow contrib module. Please have a look at this video that I posted. ua-cam.com/video/HiwPSIFu3Ec/v-deo.html
Should work on audio, its very low .
Sure, Thanks for your valuable comment