function AnnounceRenderer::__construct
Same name in other branches
- 10 core/modules/announcements_feed/src/AnnounceRenderer.php \Drupal\announcements_feed\AnnounceRenderer::__construct()
Constructs an AnnouncementRenderer object.
Parameters
\Drupal\announcements_feed\AnnounceFetcher $announceFetcher: The AnnounceFetcher service.
string $feedLink: The feed url path.
File
-
core/
modules/ announcements_feed/ src/ AnnounceRenderer.php, line 26
Class
- AnnounceRenderer
- Service to render announcements from the external feed.
Namespace
Drupal\announcements_feedCode
public function __construct(AnnounceFetcher $announceFetcher, string $feedLink) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.