chore: #3272242 Expose audit trail report as a View -- By: capysara, scottatdrake, yazanmajadba
Add Views integration for audit trail report
Expose admin_audit_trail table to Views following Drupal Core's dblog
pattern. This allows the report at /admin/reports/audit-trail to be
provided by a configurable View instead of the custom form.
New components:
- hook_views_data() implementation exposing all table fields
- Custom filter plugins for Type and Operation dropdowns
- Custom field plugin for safe HTML description rendering
- Views wizard plugin for "Add new view" UI
- Views schema configuration
- Default View in config/optional/ (auto-installs when Views is enabled)
The legacy form-based report is moved to /admin/reports/audit-trail/legacy
with a deprecation notice. The legacy menu link is hidden; users can access
it via the link in the new View's header.
Closes #3272242
Remaining tasks
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Documentation
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release Notes
- Release
Edited by Rajab Natshah