Skip to the content.

Activities Plugin - Documentation Quick Reference

Quick Links to Documentation:

Quick Start: Where to Find What

For Understanding the Plugin Architecture

→ Read: 5.6.1-activities-plugin-architecture.md

Covers:

For Understanding Authorization Workflows

→ Read: 5.6-activities-plugin.md

Covers:

For Integration in Your Code

→ Read: 5.6.1-activities-plugin-architecture.md § Service Registration

Shows:

For Configuration

→ Read: 5.6.1-activities-plugin-architecture.md § Configuration Management

Explains:

Key Documentation Updates

Important: Status constants updated from 5 to 6:

Source Code Documentation

The Activities Plugin source file has been refactored for clarity:

Documentation Structure

Activities Plugin Documentation

├── Architecture & Configuration (5.6.1)
│   ├── Plugin overview and design
│   ├── Core components
│   ├── Initialization and bootstrap
│   ├── Service registration
│   ├── Navigation & UI integration
│   ├── Configuration management
│   └── Routing & middleware
│
├── Workflows & Lifecycle (5.6)
│   ├── Authorization lifecycle
│   ├── Activity management
│   ├── Request/approval/renewal/revocation
│   ├── Multi-level approval
│   ├── Integration points
│   └── References
│
└── Refactoring Summary
    ├── What changed and why
    ├── Accuracy improvements
    ├── Files modified
    └── Benefits realized

Common Tasks

“I need to add an authorization request to my controller”

  1. Read: Service Registration § Usage in Controllers
  2. Get the service: AuthorizationManagerInterface $authorizationManager
  3. Call: $authorizationManager->request($activityId, $memberId)

“I need to understand the full authorization lifecycle”

  1. Read: Authorization Lifecycle Workflow
  2. Review: State machine diagram showing all transitions
  3. Check: Status constants and their meanings

“I need to know what authorizations a member has”

  1. Read: Member Participation Tracking
  2. Review: Authorization entity relationships
  3. Check: Available queries and finder methods

“I need to configure how many approvers are needed”

  1. Read: Activity Entity
  2. Set: num_required_authorizors for new requests
  3. Set: num_required_renewers for renewals

“I need to add navigation items for Activities”

  1. Read: Navigation & UI Integration
  2. Review: Dynamic navigation provider pattern
  3. Check: Permission-based visibility implementation

Questions?

Refer to the comprehensive documentation files or review the plugin source code: