function _heartbeat_access_type_options in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 heartbeat.common.inc \_heartbeat_access_type_options()
Helper function to get the options for access types
Return value
array of access types
2 calls to _heartbeat_access_type_options()
- views_handler_filter_heartbeat_access::admin_summary in views/
handlers/ views_handler_filter_heartbeat_access.inc - Display the filter on the administrative summary. After selecting, let the builder of the view know what he selected
- views_handler_filter_heartbeat_access::value_form in views/
handlers/ views_handler_filter_heartbeat_access.inc - Add a type selector to the value form
File
- ./
heartbeat.module, line 871
Code
function _heartbeat_access_type_options() {
return array(
HEARTBEAT_PRIVATE => t('Only the activity performed by the logged-in user'),
HEARTBEAT_PUBLIC_TO_ALL => t('Public to everyone'),
HEARTBEAT_PUBLIC_TO_ADDRESSEE => t('Public to the actor and the addressee. For specific user-user activity'),
HEARTBEAT_PUBLIC_TO_CONNECTED => t('friendlist, og, ... connected or related'),
);
}