Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AnnounceRenderer.php

function 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_feed

Code

public function __construct(AnnounceFetcher $announceFetcher, string $feedLink) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal