Download the PHP package cntlscrut/drupal-eca-news-workflow without Composer
On this page you can find all versions of the php package cntlscrut/drupal-eca-news-workflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cntlscrut/drupal-eca-news-workflow
More information about cntlscrut/drupal-eca-news-workflow
Files in cntlscrut/drupal-eca-news-workflow
Package drupal-eca-news-workflow
Short Description Complete automated editorial workflow system for news organizations using ECA (Event Condition Action)
License GPL-2.0-or-later
Homepage https://github.com/cntlscrut/drupal-eca-news-workflow
Informations about the package drupal-eca-news-workflow
News Editorial Workflow Automation Recipe
A comprehensive automated editorial workflow system built with ECA (Event Condition Action) for news organizations, magazines, and content-driven websites using Drupal.
π Features
π Editorial Workflow
- Three-State Process: Draft β In Review β Published
- Bidirectional Editing: Content can move back and forth between Draft and In Review
- Smart Transitions: Automatic validation and checks during state changes
- Bulk Operations: Manage multiple articles efficiently
- Content Scheduling: Plan publication dates and times
π§ Intelligent Notifications
- Role-Based Alerts: Targeted notifications based on user roles
- Author Updates: Real-time feedback on content status
- Editor Assignments: Automatic notification of pending reviews
- Publication Alerts: Stakeholder updates on published content
- Customizable Templates: Personalize notification messages
π Monitoring & Analytics
- Activity Logging: Complete audit trail of all editorial actions
- Performance Metrics: Track editorial efficiency
- User Analytics: Monitor team productivity
- Content Analytics: Publication success metrics
- Workflow Optimization: Data-driven process improvements
β‘ Automation Engine
- Content Validation: Automatic quality checks
- SEO Compliance: Built-in optimization checks
- Category Assignment: Smart content categorization
- Publication Automation: Scheduled publishing
- Workflow Rules: Customizable business logic
π οΈ Installation
Prerequisites
- Drupal 11.0+
- ECA module 2.1+
- Content Moderation module
- PHP 8.1+
Quick Install
Composer Installation
π Usage
1. Basic Workflow
2. Customizing Notifications
Edit the ECA model to customize notification behavior:
3. Adding Custom States
Extend the workflow by adding new states:
ποΈ Architecture
ECA Model Structure
State Machine
π¨ Customization
Adding New Roles
- Create new role:
drush role:create fact_checker "Fact Checker"
- Update ECA conditions to include new role
- Modify notification templates
Custom Email Templates
Integration Examples
With Views Bulk Operations
With Scheduler Integration
π§ͺ Testing
Running Tests
Test Scenarios Included
- β Basic state transitions
- β Role-based permissions
- β Email notification delivery
- β Bulk operations
- β Content validation
- β Performance under load
π§ Configuration
Environment Variables
Configuration Files
workflows.workflow.basic_editorial.yml
- Workflow definitioneca.eca.news_editorial_workflow.yml
- ECA configurationeca.model.news_editorial_workflow.yml
- ECA model definition
π Examples
1. News Website Setup
Perfect for online newspapers with multiple reporters and editors:
2. Magazine Integration
Ideal for monthly/weekly magazines with longer review cycles:
3. Corporate Blog
Streamlined workflow for corporate content:
π€ Contributing
We welcome contributions! Here's how to get involved:
Development Setup
Contribution Guidelines
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Code Standards
- Follow Drupal coding standards
- Write comprehensive tests
- Document all changes
- Update README as needed
π License
This project is licensed under the GPL-2.0+ License - see the LICENSE file for details.
π Support
- Documentation: docs.example.com
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Slack: #editorial-workflow
ποΈ Credits
- Built with β€οΈ by the ECA Team
- Inspired by real-world newsroom workflows
- Community contributions from editorial professionals
πΊοΈ Roadmap
Version 1.1 (Planned)
- [ ] AI-powered content suggestions
- [ ] Advanced analytics dashboard
- [ ] Multi-site workflow synchronization
- [ ] Mobile editorial app integration
Version 1.2 (Future)
- [ ] Video/multimedia workflow support
- [ ] Social media integration
- [ ] Real-time collaborative editing
- [ ] Advanced permission granularity
Made with β€οΈ for the Drupal Community
All versions of drupal-eca-news-workflow with dependencies
drupal/eca Version ^2.1
drupal/content_moderation Version ^11.0
drupal/workflows Version ^11.0
drupal/scheduler Version ^3.0
drupal/token Version ^1.0