1 user.theme.inc | theme_user_links_page($variables) |
Returns HTML for user forms with links instead of tabs.
Parameters
array $variables: An associative array containing:
- form: A render array of the form to be rendered, such as the login or password reset form.
- links: An item_list render array with the local tasks as links.
Return value
string: The themed HTML string with the links.
Related topics
File
- core/
modules/ user/ user.theme.inc, line 431 - Theme functions for the User module.
Code
function theme_user_links_page($variables) {
$output = '';
$output .= backdrop_render($variables['form']);
$output .= '<div class="user-form-links">';
$output .= backdrop_render($variables['links']);
$output .= '</div>';
return $output;
}