Commit c8375334 authored by RoSk0's avatar RoSk0

Issue #1783476 by RoSk0: Fixed page manager integration.

Function "crm_core_contact_ui_view" was removed totally because
breadcrumbs is already correct, after we changed path from
crm-core/contacts => crm-core/contact.
parent 6b9d333a
......@@ -16,7 +16,7 @@ function crm_core_contact_ui_menu() {
*/
$items['crm-core/contact/%crm_core_contact'] = array(
'title' => 'Contact',
'page callback' => 'crm_core_contact_ui_view',
'page callback' => 'crm_core_contact_view',
'page arguments' => array(2),
'title callback' => 'crm_core_contact_title',
'title arguments' => array(2),
......@@ -176,20 +176,6 @@ function crm_core_contact_ui_theme() {
return $theme;
}
/**
* Helper function to set breadcrumbs before displaying contact.
*/
function crm_core_contact_ui_view($contact) {
$breadcrumb = array(
l(t('Home'), '<front>'),
l(t('CRM Core'), 'crm-core'),
l(t('Contacts'), 'crm-core/contact'),
);
drupal_set_breadcrumb($breadcrumb);
return crm_core_contact_view($contact);
}
/**
* Returns save contact button name depending on contact type.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment