Skip to content
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

!!! FEATURE: Add function helpers to Eel and remove magic q #1580

Merged
merged 3 commits into from May 16, 2019

Commits on May 15, 2019

  1. !!! FEATURE: Add function helpers to Eel and remove magic q

    Function helpers are static functions that are available in Eel without a containing helper. This
    change removes the default q variable and instead adds a static method `q` to the flowQuery
    class that can be used as helper function with the following configuration:
    
    ```
    Neos:
      Fusion:
        defaultContext:
          q: 'Neos\Eel\FlowQuery\FlowQuery::q'
      ContentRepository:
        labelGenerator:
          eel:
            defaultContext:
              q: Neos\Eel\FlowQuery\FlowQuery::q
    ```
    mficzel committed May 15, 2019
    Copy the full SHA
    a56e1d8 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Apply suggestions from code review

    Co-Authored-By: Alexander Berl <a.berl@outlook.com>
    mficzel and albe committed May 16, 2019
    Copy the full SHA
    e9aff88 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-Authored-By: Karsten Dambekalns <karsten@dambekalns.de>
    mficzel and kdambekalns committed May 16, 2019
    Copy the full SHA
    5360331 View commit details
    Browse the repository at this point in the history