Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Workflow] Rename the workflow_build_transition_blocker_list() function? #26689

Copy link
Copy link
Closed
@javiereguiluz

Description

@javiereguiluz
Issue body actions
Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? yes
Symfony version 4.1

I don't have real experience with Workflow, so this is a question for developers who have that experience. Don't you think that the name of the new workflow_build_transition_blocker_list() Twig function is too long? Would it be better to make it more concise?

Example:

Before

{% for blocker in workflow_build_transition_blocker_list(article, transition.name) %}
  ...
{% endfor %}

After

{% for blocker in workflow_transition_blockers(article, transition.name) %}
  ...
{% endfor %}

or:

{% for blocker in workflow_blockers_list(article, transition.name) %}
  ...
{% endfor %}

or:

{% for blocker in workflow_blockers(article, transition.name) %}
  ...
{% endfor %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)Workflow

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.