function hook_process

cis7 theme.api.php hook_process(&$variables, $hook)
cle7 theme.api.php hook_process(&$variables, $hook)
elmsmedia7 theme.api.php hook_process(&$variables, $hook)
icor7 theme.api.php hook_process(&$variables, $hook)
meedjum_blog7 theme.api.php hook_process(&$variables, $hook)
mooc7 theme.api.php hook_process(&$variables, $hook)

Process theme variables for templates.

This hook allows modules to process theme variables for theme templates. It is called for all theme hooks implemented as templates, but not for theme hooks implemented as functions. hook_process_HOOK() can be used to process variables for a specific theme hook, whether implemented as a template or function.

For more detailed information, see theme().


$variables: The variables array (modify in place).

$hook: The name of the theme hook.

53 functions implement hook_process()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_aggregator_process in modules/aggregator/
Implements hook_aggregator_process().
alpha_process in sites/all/themes/ulmus/omega/alpha/template.php
Implements hook_process().
batch_process in includes/
Processes the batch.
blog_pathauto_bulk_update_batch_process in sites/all/modules/ulmus/pathauto/
Batch processing callback; Generate aliases for blogs.
callback_filter_process in modules/filter/filter.api.php
Provide text filtered to conform to the supplied format.

... See full list

5 invocations of hook_process()
context_help in sites/all/modules/ulmus/context/
Implementation of hook_help().
context_layouts_help in sites/all/modules/ulmus/context/context_layouts/context_layouts.module
Implementation of hook_help().
context_ui_help in sites/all/modules/ulmus/context/context_ui/context_ui.module
Implementation of hook_help().
features_help in sites/all/modules/ulmus/features/features.module
Implements hook_help().
strongarm_help in sites/all/modules/ulmus/strongarm/strongarm.module
Implementation hook_help().


modules/system/theme.api.php, line 181


function hook_process(&$variables, $hook) {
  // Wraps variables in RDF wrappers.
  if (!empty($variables['rdf_template_variable_attributes_array'])) {
    foreach ($variables['rdf_template_variable_attributes_array'] as $variable_name => $attributes) {
      $context = array(
        'hook' => $hook,
        'variable_name' => $variable_name,
        'variables' => $variables,
      $variables[$variable_name] = theme('rdf_template_variable_wrapper', array('content' => $variables[$variable_name], 'attributes' => $attributes, 'context' => $context));