1 | <?php |
||
23 | class QaCommands extends DrushCommands { |
||
24 | |||
25 | /** |
||
26 | * Show the content moderation as a table. |
||
27 | * |
||
28 | * |
||
29 | * @command como:table |
||
30 | * @aliases cmt,como-table |
||
31 | */ |
||
32 | public function table() { |
||
36 | |||
37 | /** |
||
38 | * Show the content moderation as a Graphviz DOT file. |
||
39 | * |
||
40 | * @param $workflow |
||
41 | * The machine name of a workflow |
||
42 | * |
||
43 | * @command como:graphviz |
||
44 | * @aliases cmg,como-graphviz |
||
45 | */ |
||
46 | public function graphviz($workflow = NULL) { |
||
50 | |||
51 | |||
52 | /** |
||
53 | * Show a summary of available workflows |
||
54 | * |
||
55 | * |
||
56 | * @command qa:workflows-list |
||
57 | * @aliases qawl,qa-workflows-list |
||
58 | */ |
||
59 | public function workflowsList() { |
||
66 | |||
67 | /** |
||
68 | * Build a Graphviz DOT file showing the module and theme dependencies. |
||
69 | * |
||
70 | * |
||
71 | * @command qa:dependencies |
||
72 | * @aliases qadep,qa-dependencies |
||
73 | */ |
||
74 | public function dependencies() { |
||
80 | |||
81 | /** |
||
82 | * List extensions removed without a clean uninstall. |
||
83 | * |
||
84 | * |
||
85 | * @command qa:force-removed |
||
86 | * @aliases qafrm,qa-force-removed |
||
87 | */ |
||
88 | public function forceRemoved() { |
||
92 | |||
93 | } |
||
94 |