You are here

function _heartbeat_features_get_types in Heartbeat 6.4

Get types for features.

1 call to _heartbeat_features_get_types()
heartbeat_features_export_options in ./heartbeat.features.inc
Implementation of hook_features_export_options().

File

./heartbeat.features.inc, line 33
Features support.

Code

function _heartbeat_features_get_types() {
  $types = array();
  $templates = heartbeat_messages('all', TRUE);
  foreach ($templates as $template) {
    $types[$template->message_id] = empty($template->description) ? $template->message_id : $template->description;
  }
  return $types;
}