summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-03 01:15:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-03 01:15:34 +0000
commit8ec40cc27a72e3dec43d80432a3250af7c03aed3 (patch)
treefcc37f6506cc2e8c511399584a899c40c70e0772 /modules/field/field.api.php
parent69e9e3e3a2c2d52a149914565fa451ed967280e1 (diff)
downloadbrdo-8ec40cc27a72e3dec43d80432a3250af7c03aed3.tar.gz
brdo-8ec40cc27a72e3dec43d80432a3250af7c03aed3.tar.bz2
- Patch #922824 by plach: no way to specify the language to view entities in.
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 2b99c2309..9b3ebf0f5 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -1236,6 +1236,7 @@ function hook_field_attach_purge($entity_type, $entity, $field, $instance) {
* - entity_type: The type of $entity; for example, 'node' or 'user'.
* - entity: The entity with fields to render.
* - view_mode: View mode, for example, 'full' or 'teaser'.
+ * - language: The language code used for rendering.
*/
function hook_field_attach_view_alter(&$output, $context) {
// Append RDF term mappings on displayed taxonomy links.