2 * Implements hook_process().
4 function {{ machine_name }}_process(&$variables, $hook) {
5 // Wraps variables in RDF wrappers.
6 if (!empty($variables['rdf_template_variable_attributes_array'])) {
7 foreach ($variables['rdf_template_variable_attributes_array'] as $variable_name => $attributes) {
10 'variable_name' => $variable_name,
11 'variables' => $variables,
13 $variables[$variable_name] = theme('rdf_template_variable_wrapper', array('content' => $variables[$variable_name], 'attributes' => $attributes, 'context' => $context));