You are here

function heartbeat_stream_has_access in Heartbeat 7

Helper function to check access on activity stream by name.

Parameters

String $stream: The ClassName of the stream.

1 string reference to 'heartbeat_stream_has_access'
heartbeat_menu in ./heartbeat.module
Implements hook_menu().

File

./heartbeat.streams.inc, line 178

Code

function heartbeat_stream_has_access($stream) {
  $streamConfig = heartbeat_stream_config_load($stream);
  return _heartbeat_stream_has_access($streamConfig);
}