function AnnounceController::__construct
Same name in other branches
- 10 core/modules/announcements_feed/src/Controller/AnnounceController.php \Drupal\announcements_feed\Controller\AnnounceController::__construct()
Constructs an AnnounceController object.
Parameters
\Drupal\announcements_feed\AnnounceRenderer $announceRenderer: The AnnounceRenderer service.
File
-
core/
modules/ announcements_feed/ src/ Controller/ AnnounceController.php, line 25
Class
- AnnounceController
- Controller for community announcements.
Namespace
Drupal\announcements_feed\ControllerCode
public function __construct(AnnounceRenderer $announceRenderer) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.