Core Search Workflow Integration

Hi all,

The default search respects Drupal publish states and not workflow module states. How I can integrate the workflow with Core search feature?

When googled I found some solutions like,

– Use Rules

– use Search API

– use query alter hooks

What method I need start with, please help me on this.



Drupal version: