Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Excluding some content types from the "Save content state" option

Forums: 

Hello, I need to exclude a specific content type (the interactive video) from resuming at the last state while keeping the "Save content State"option enabled globally.

I am looking for a simple way to achieve this exclusion without having to hack the module code. I understand the content state is managed by the getCurrentState() function implementation.

The platforms are Drupal 7 and 9.

Thank you in advance for any help.

Pages