announcements_feed.services.yml
Same filename in other branches
File
-
core/
modules/ announcements_feed/ announcements_feed.services.yml
View source
- parameters:
- announcements_feed.feed_json_url: https://www.drupal.org/announcements.json
- announcements_feed.feed_link: https://www.drupal.org/about/announcements
-
- services:
- announcements_feed.fetcher:
- class: Drupal\announcements_feed\AnnounceFetcher
- arguments: ['@http_client', '@config.factory', '@keyvalue.expirable', '@logger.channel.announcements_feed', '%announcements_feed.feed_json_url%']
- Drupal\announcements_feed\AnnounceFetcher: '@announcements_feed.fetcher'
- logger.channel.announcements_feed:
- parent: logger.channel_base
- arguments: ['announcements_feed']
- public: false
- announcements_feed.lazy_builders:
- class: Drupal\announcements_feed\LazyBuilders
- arguments: [ '@plugin.manager.element_info']
- Drupal\announcements_feed\LazyBuilders: '@announcements_feed.lazy_builders'
- announcements_feed.renderer:
- class: Drupal\announcements_feed\AnnounceRenderer
- arguments: ['@announcements_feed.fetcher', '%announcements_feed.feed_link%']
- Drupal\announcements_feed\AnnounceRenderer: '@announcements_feed.renderer'
Services
Title | Deprecated | Summary |
---|---|---|
announcements_feed.fetcher | Drupal\announcements_feed\AnnounceFetcher | |
announcements_feed.lazy_builders | Drupal\announcements_feed\LazyBuilders | |
announcements_feed.renderer | Drupal\announcements_feed\AnnounceRenderer | |
Drupal\announcements_feed\AnnounceFetcher | ||
Drupal\announcements_feed\AnnounceRenderer | ||
Drupal\announcements_feed\LazyBuilders | ||
logger.channel.announcements_feed |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.