announcements_feed.services.yml

Same filename in other branches
  1. 11.x core/modules/announcements_feed/announcements_feed.services.yml
core/modules/announcements_feed/announcements_feed.services.yml

File

core/modules/announcements_feed/announcements_feed.services.yml

View source
  1. parameters:
  2. announcements_feed.feed_json_url: https://www.drupal.org/announcements.json
  3. announcements_feed.feed_link: https://www.drupal.org/about/announcements
  4. services:
  5. announcements_feed.fetcher:
  6. class: Drupal\announcements_feed\AnnounceFetcher
  7. arguments: ['@http_client', '@config.factory', '@keyvalue.expirable', '@logger.channel.announcements_feed', '%announcements_feed.feed_json_url%']
  8. Drupal\announcements_feed\AnnounceFetcher: '@announcements_feed.fetcher'
  9. logger.channel.announcements_feed:
  10. parent: logger.channel_base
  11. arguments: ['announcements_feed']
  12. public: false
  13. announcements_feed.lazy_builders:
  14. class: Drupal\announcements_feed\LazyBuilders
  15. arguments: [ '@plugin.manager.element_info']
  16. Drupal\announcements_feed\LazyBuilders: '@announcements_feed.lazy_builders'
  17. announcements_feed.renderer:
  18. class: Drupal\announcements_feed\AnnounceRenderer
  19. arguments: ['@announcements_feed.fetcher', '%announcements_feed.feed_link%']
  20. Drupal\announcements_feed\AnnounceRenderer: '@announcements_feed.renderer'

Services


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.