function template_preprocess_unwrapped_container in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 8.4 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 8.5 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 8.6 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 8.7 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 8.8 modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 10.3.x modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 10.0.x modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
- 10.2.x modules/social_features/social_user/social_user.module \template_preprocess_unwrapped_container()
Prepares variables for unwrapped container templates.
Default template: unwrapped-container.html.twig.
Parameters
array $variables: An associative array containing:
- element: An associative array containing the properties of the element. Properties used: #id, #attributes, #children.
See also
\template_preprocess_container()
File
- modules/
social_features/ social_user/ social_user.module, line 451 - The social user module alterations.
Code
function template_preprocess_unwrapped_container(array &$variables) {
// The UnwrappedContaienr element exists to provide a different template from
// the container which is used by the AccountHeaderElement which is why we the
// original container implementation works fine for us. The div is then simply
// not added in the template.
template_preprocess_container($variables);
}