function template_preprocess_profile_wrapper
template_preprocess_profile_wrapper(&$variables)
Process variables for profile-wrapper.tpl.php.
The $variables array contains the following arguments:
- $content
See also
File
- modules/profile/profile.module, line 591
- Support for configurable user profiles.
Code
function template_preprocess_profile_wrapper(&$variables) { $variables['current_field'] = ''; if ($field = arg(1)) { $variables['current_field'] = $field; $variables['theme_hook_suggestions'][] = 'profile_wrapper__' . $field; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!profile!profile.module/function/template_preprocess_profile_wrapper/7.x