webbuilders-group/silverstripe-fluent-workflow

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

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

1.0.1 2019-08-13 16:04 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