function heartbeat_templates_names in Heartbeat 7
Get the heartbeat template messages names.
5 calls to heartbeat_templates_names()
- HeartbeatActivityStatusPlugin::pluginStreamForm in modules/
heartbeat_plugins/ plugins/ activitystatus.inc - pluginStreamForm().
- heartbeat_entity_info in ./
heartbeat.entity.inc - Implement hook_entity_info().
- heartbeat_form_user_profile_form_alter in ./
heartbeat.module - Implements hook_form_FORM_ID_alter().
- heartbeat_ui_admin_menu_map in modules/
heartbeat_ui/ heartbeat_ui.module - Implements hook_admin_menu_map() on behalf of Heartbeat module.
- views_handler_filter_heartbeat_message_id::get_value_options in views/
views_handler_filter_heartbeat_message_id.inc - Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
3 string references to 'heartbeat_templates_names'
- heartbeat_rules_rules_action_info in modules/
heartbeat_rules/ heartbeat_rules.rules.inc - Implements hook_rules_action_info().
- heartbeat_schema in ./
heartbeat.install - Implementation of hook_schema().
- __heartbeat_rules_rules_action_info in modules/
heartbeat_og/ heartbeat_og.rules.inc - Implements hook_rules_action_info().
File
- ./
heartbeat.module, line 1087 - Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.
Code
function heartbeat_templates_names() {
$names = array();
ctools_include('export');
foreach (ctools_export_crud_load_all('heartbeat_messages') as $template) {
$names[$template->message_id] = $template->description;
}
return $names;
}