You are here

function _civicrm_entity_profile_get_profile_title in CiviCRM Entity 7.2

Returns the title for a Profile

Parameters

$profile_id:

Return value

string

3 calls to _civicrm_entity_profile_get_profile_title()
theme_civicrm_entity_price_set_field_price_field_display_form_confirmation_page in modules/civicrm_entity_price_set_field/includes/civicrm_entity_price_set_field.confirmation_page.inc
Theme function for Display Form -- Confirmation Page
theme_civicrm_entity_price_set_field_price_field_display_form_thank_you_page in modules/civicrm_entity_price_set_field/includes/civicrm_entity_price_set_field.thank_you_page.inc
Theme function for Display Form -- Thank you page
_civicrm_entity_price_set_field_setup_event_registration_form_fapi in modules/civicrm_entity_price_set_field/includes/civicrm_entity_price_set_field.event_registration.inc
Helper function to setup event registration form FAPI

File

modules/civicrm_entity_profile/includes/civicrm_entity_profile.profile.inc, line 247
CiviCRM Entity Profile, Profile Form generation and processing, utility functions

Code

function _civicrm_entity_profile_get_profile_title($profile_id) {
  $uf_group = entity_load_single('civicrm_uf_group', $profile_id);
  if (!empty($uf_group->title)) {
    return $uf_group->title;
  }
  return '';
}