function theme_content_profile_display_tab_edit in Content Profile 6
Themes the edit tab
1 theme call to theme_content_profile_display_tab_edit()
- content_profile_preprocess_content_profile_display_view in ./
content_profile.theme.inc - Implementation of content_profile_preprocess_HOOK()
File
- ./
content_profile.theme.inc, line 69 - Theme and template preprocessing code
Code
function theme_content_profile_display_tab_edit($node) {
if (node_access('update', $node)) {
return l(t('Edit'), content_profile_get_edit_path($node), array(
'query' => drupal_get_destination(),
));
}
}