crm_core_contact_ui.theme.inc in CRM Core 7
Contains theme implementation.
File
modules/crm_core_contact_ui/theme/crm_core_contact_ui.theme.incView source
<?php
/**
* @file
* Contains theme implementation.
*/
/**
* Renders list of contact types available for contact creation.
*/
function theme_crm_core_contact_ui_add_list($variables) {
$content = $variables['content'];
$output = '';
if ($content) {
$output .= '<dl>';
foreach ($content as $item) {
$output .= '<dt>' . l(t($item['title']), $item['href'], $item['localized_options']) . '</dt>';
$output .= '<dd>' . t($item['description']) . '</dd>';
}
$output .= '</dl>';
}
return $output;
}
Functions
Name![]() |
Description |
---|---|
theme_crm_core_contact_ui_add_list | Renders list of contact types available for contact creation. |