This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
Workflows
2
2
---------
3
3
4
+ .. versionadded :: 1.1
5
+ Support for workflows was introduced in CreateBundle 1.1.
6
+
4
7
CreateJS uses a REST api for creating, loading and changing content. To delete content
5
8
the HTTP method DELETE is used. Since deleting might be a more complex operation
6
9
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 ``
43
46
44
47
This results in the delete workflow being registered with CreatePHP and CreateJS so that
45
48
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.
You can’t perform that action at this time.
0 commit comments