silverstripe-versionfeed/_config/versionfeed.yml

22 lines
445 B
YAML

---
Name: versionedfeedconfig
---
Injector:
RateLimitFilter: \VersionFeed\Filters\RateLimitFilter
ContentFilter:
class: \VersionFeed\Filters\CachedContentFilter
constructor:
- %$RateLimitFilter
SiteTree:
extensions:
- VersionFeed
SiteConfig:
extensions:
- VersionFeedSiteConfig
ContentController:
extensions:
- VersionFeed_Controller
VersionFeed_Controller:
dependencies:
ContentFilter: %$ContentFilter