interface ControllerInterface (View source)

Methods

bool
shouldDisplayAnnouncementToUser(User $user, array $announcements)

Allows for additional filtering of announcements

onViewAnnouncement(User $user)

No description

mixed
createAnnouncementComponent(Announcement $announcement, array $slides)

No description

array
getSlides(User $user)

No description

Details

bool shouldDisplayAnnouncementToUser(User $user, array $announcements)

Allows for additional filtering of announcements

Parameters

User $user
array $announcements

Return Value

bool

onViewAnnouncement(User $user)

No description

Parameters

User $user

mixed createAnnouncementComponent(Announcement $announcement, array $slides)

No description

Parameters

Announcement $announcement
array $slides

Return Value

mixed

array getSlides(User $user)

No description

Parameters

User $user

Return Value

array