function hook_field_attach_preprocess_alter

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)
cle7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)
elmsmedia7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)
icor7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)
meedjum_blog7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)
mooc7 field.api.php hook_field_attach_preprocess_alter(&$variables, $context)

Alter field_attach_preprocess() variables.

This hook is invoked while preprocessing the field.tpl.php template file in field_attach_preprocess().

Parameters

$variables: The variables array is passed by reference and will be populated with field values.

$context: An associative array containing:

  • entity_type: The type of $entity; for example, 'node' or 'user'.
  • entity: The entity with fields to render.
  • element: The structured array containing the values ready for rendering.

Related topics

File

modules/field/field.api.php, line 1395

Code

function hook_field_attach_preprocess_alter(&$variables, $context) {
  // @todo Needs function body.
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.