function janrain_capture_profile_link in Janrain Registration 7.2
Same name and namespace in other branches
- 7.4 janrain_capture.module \janrain_capture_profile_link()
- 7 janrain_capture.module \janrain_capture_profile_link()
- 7.3 janrain_capture.module \janrain_capture_profile_link()
Returns a render array for the 'Edit profile' link for Janrain Capture.
File
- ./
janrain_capture.module, line 500 - This module implements authentication endpoints for Janrain Capture.
Code
function janrain_capture_profile_link() {
global $base_url;
$link = array(
'#type' => 'link',
'#title' => t('View / Edit Profile'),
'#href' => 'janrain_capture/profile',
'#options' => array(
'absolute' => TRUE,
),
'#attributes' => array(
'class' => array(
'janrain_capture_anchor',
),
),
);
return $link;
}