Skip to content

Commit

Permalink
Remove workflow from com_content (#56)
Browse files Browse the repository at this point in the history
* Remove more conditions
Load transition field if component uses WorkflowModelTrait

* Revert publish method to Joomla! 3 version and add workflow plugin group

* Fix spelling error

* Execute transition if selected in the item
Add before/after item save for workflow
  • Loading branch information
bembelimen authored Apr 18, 2020
1 parent 3cee575 commit 11a029b
Show file tree
Hide file tree
Showing 10 changed files with 453 additions and 423 deletions.
17 changes: 12 additions & 5 deletions administrator/components/com_content/forms/article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,18 @@
/>

<field
name="transition"
type="transition"
label="COM_CONTENT_TRANSITION"
extension="com_content"
/>
name="state"
type="list"
label="JSTATUS"
class="custom-select-color-state"
size="1"
default="1"
>
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
<option value="2">JARCHIVED</option>
<option value="-2">JTRASHED</option>
</field>

<field
name="tags"
Expand Down
Loading

0 comments on commit 11a029b

Please sign in to comment.