Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 1e0618d

Browse files
wouterjlsmith77
authored andcommitted
[#540] added versionadded
1 parent 3c0d09f commit 1e0618d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bundles/create/workflow.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Workflows
22
---------
33

4+
.. versionadded:: 1.1
5+
Support for workflows was introduced in CreateBundle 1.1.
6+
47
CreateJS uses a REST api for creating, loading and changing content. To delete content
58
the HTTP method DELETE is used. Since deleting might be a more complex operation
69
than just removing the content form the storage (e.g. getting approval by another
@@ -43,3 +46,14 @@ of a workflow to delete content. To enable the workflow set the config option ``
4346
4447
This results in the delete workflow being registered with CreatePHP and CreateJS so that
4548
you can now delete content from the frontend.
49+
50+
.. note::
51+
52+
The provided workflow supports PHPCR persistence only. It deletes the currently selected
53+
content once you confirmed deletion in the frontend. If the currently selected property is
54+
a property of the page the whole page is deleted.
55+
56+
In a more complex setup you need to create your own workflow instance, register it with CreatePHP
57+
and implement your logic in the workflows run method.
58+
59+
Currently the bundle only supports delete workflows but that will change in the future.

0 commit comments

Comments
 (0)