Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How do i load / call a stream? In the api i see hook_heartbeat_stream_load
but that function should be used to modify a stream once it's loaded.
I looked trough the block code in heartbeat.module but couldn't really find how or where you call a stream.
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedIf you follow the menu paths , E.g. in pages.inc or you follow the block view code, you'll find your way.
I will be something like:
Comment #2
Michsk CreditAttribution: Michsk commentedI'm stuck at:
All it returns is 'No activity yet.' tough the user has got activity.
I also don't get what
heartbeat_stream_build()
does, i got it from the examples you showed (block and page).I'm trying to show the stream in ctools custom content.
Comment #3
Michsk CreditAttribution: Michsk commentedIs it possible to display a heartbeat stream, without having a page and block for it? I want to display it in a content type so i can use it in panels.
Comment #4
Michsk CreditAttribution: Michsk commentedGot it working with:
Only question left is how is this going to be displayed? Since i don't see a option for pager, and amount of results?