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

BUG Make RequestProcessor->filters settable as a property too #654

Merged

Conversation

hafriedlander
Copy link
Contributor

filters was a DI property that could only be set via constructor. This meant that modules couldnt add a
filter without interfering with other modules. With this change you can now add a config block like:

Injector:
RequestProcessor:
properties:
filters:
- "%$MyFilter"

Which will add a filter to RequestProcessors list of filters

filters was a DI property that could only be set via constructor. This meant that modules couldnt add a
filter without interfering with other modules. With this change you can now add a config block like:

Injector:
  RequestProcessor:
    properties:
      filters:
        - "%$MyFilter"

Which will add a filter to RequestProcessors list of filters
hafriedlander pushed a commit that referenced this pull request Jul 22, 2012
BUG Make RequestProcessor->filters settable as a property too
@hafriedlander hafriedlander merged commit 2664cb2 into silverstripe:3.0 Jul 22, 2012
bergice pushed a commit to open-sausages/silverstripe-framework that referenced this pull request Nov 18, 2018
…ersistant-form-state

NEW Form state & schema persists across form remounting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant