Adding new View page /admin/content/localgov-content-by-owner that lists content by owner (relationship to service contact required):
Adding dynamic menu link that only gets placed if the View above is present:
Adding dynamic local task that only gets generated if the View above is present (see below for screenshot).
I've tested this with a new user, service contact tied to that user and a service page with that service contact assigned; here's how the new View looks like (some columns are sortable just like the vanilla content View):
To add the View when localgov_workflow_notifications is already enabled, Councils can manually import the View's YML configuration (views.view.localgov_content_by_owner.yml) into their site:
views.view.localgov_content_by_owner.yml.zip
Benefits of this approach:
No additional module required (verf). There is also a patch required for this module to avoid a fatal error when a VERF select exposed filter is added to the View (issue https://www.drupal.org/project/verf/issues/3113519)
The "Content by owner" View can be optionally enabled and only comes to play when the localgov_workflow_notifications sub-module is enabled
Possible cons of this approach:
The new "Content by owner" View is on its own distinct path and not integrated with the default Content View (which might be appealing for some Councils as it also keeps the main Content View clean)
This is for issue https://github.com/localgovdrupal/localgov_workflows/issues/85.
Changes:
Adding new View page /admin/content/localgov-content-by-owner that lists content by owner (relationship to service contact required):
Adding dynamic menu link that only gets placed if the View above is present:
Adding dynamic local task that only gets generated if the View above is present (see below for screenshot).
I've tested this with a new user, service contact tied to that user and a service page with that service contact assigned; here's how the new View looks like (some columns are sortable just like the vanilla content View):
To add the View when localgov_workflow_notifications is already enabled, Councils can manually import the View's YML configuration (views.view.localgov_content_by_owner.yml) into their site: views.view.localgov_content_by_owner.yml.zip
Benefits of this approach: