Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
field.multilingual.inc
»
field_language
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
10 calls to field_language()
comment_tokens
in drupal/
core/
modules/
comment/
comment.tokens.inc
Implements
hook_tokens
().
Field::field_langcode
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
views/
field/
Field.php
Return the language code of the language the field should be displayed in, according to the settings.
field_attach_prepare_view
in drupal/
core/
modules/
field/
field.attach.inc
Prepares field data prior to display.
field_attach_view
in drupal/
core/
modules/
field/
field.attach.inc
Returns a renderable array for the fields on an entity.
field_get_items
in drupal/
core/
modules/
field/
field.module
Returns the field items in the language they currently would be displayed.
field_view_field
in drupal/
core/
modules/
field/
field.module
Returns a renderable array for the value of a single field in an entity.
field_view_value
in drupal/
core/
modules/
field/
field.module
Returns a renderable array for a single field value.
node_tokens
in drupal/
core/
modules/
node/
node.tokens.inc
Implements
hook_tokens
().
TranslationTest::testFieldDisplayLanguage
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
TranslationTest.php
Tests display language logic for translatable fields.
TranslationTest::testFieldInvokeMultiple
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
TranslationTest.php
Test the multilanguage logic of
_field_invoke_multiple
().