webbuilders-group/silverstripe-fluent-workflow

Adds compatibility to symbiote/silverstripe-advancedworkflow for tractorcow/silverstripe-fluent

1.0.1 2019-08-13 16:04 UTC

This package is auto-updated.

Last update: 2024-12-05 08:49:20 UTC


README

Adds compatibility to symbiote/silverstripe-advancedworkflow for tractorcow/silverstripe-fluent

Maintainer Contact

Requirements

  • SilverStripe CMS 4.0+
  • tractorcow/silverstripe-fluent ~4.2
  • symbiote/silverstripe-advancedworkflow ~5.2

Installation

composer require webbuilders-group/silverstripe-fluent-workflow

Usage

Embargos and Workflow Instances will be created uniquely per locale on a page. Note the data object you are assigning these classes to must have the TractorCow\Fluent\Extension\FluentExtension extension (or one of it's subclasses).

For workflows use the following extension:

MyDataObject:
    extensions:
        - WebbuildersGroup\FluentWorkflow\Extensions\FluentWorkflowApplicable

For embargo's use the following extension:

MyDataObject:
    extensions:
        - WebbuildersGroup\FluentWorkflow\Extensions\FluentWorkflowEmbargoExpiryExtension