-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Workflow integration #53
Add Workflow integration #53
Conversation
8eff03f
to
26a6fc8
Compare
ad3e070
to
86322a6
Compare
86322a6
to
36dcc39
Compare
36dcc39
to
241b081
Compare
73c232c
to
6c6155e
Compare
6c6155e
to
21e19e7
Compare
d05b5fb
to
3abc106
Compare
3abc106
to
7eca089
Compare
1313dfa
to
2b90424
Compare
2b90424
to
f355341
Compare
ff34e18
to
1eb7c9e
Compare
1eb7c9e
to
ae07e96
Compare
|
||
private function getWorkflow(): SymfonyWorkflowInterface | ||
{ | ||
$definitionBuilder = new DefinitionBuilder(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you move this to a prepend configuration in an additional PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then we could generate the image with symfony commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not sure if its good to prepend the configuration thats why its currently this way.
If the developer want to implements his own workflow on its entity it can be done by set another workflowName
on its entity.
$contentView = $this->contentLoader->load($content, ['locale' => $locale, 'stage' => 'draft']); | ||
// TODO to support other dimension attributes here | ||
// TODO we should maybe get dimension Attributes form request attributes set by a request listener | ||
// TODO e.g. $request->attributes->get('_sulu_content_dimension_attributes'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
f5e1d01
to
e45d7a3
Compare
I got the following graphic from @chirimoya and @wachterjohannes about the future publishing workflow in sulu:
Out of this graphic we have 5 workflow stages / places ....:
TODO