constant LANGUAGE_TYPE_CONTENT

The type of language used to define the content language.

12 uses of LANGUAGE_TYPE_CONTENT
CommentFormController::form in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::form().
hook_language_switch_links_alter in drupal/core/modules/system/language.api.php
Perform alterations on language switcher links.
LanguageNegotiationInfoTest::testInfoAlterations in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php
Tests alterations to language types/negotiation info.
language_language_negotiation_info in drupal/core/modules/language/language.module
Implements hook_language_negotiation_info().
language_test_language_negotiation_info in drupal/core/modules/language/tests/language_test.module
Implements hook_language_negotiation_info().

... See full list

File

drupal/core/includes/bootstrap.inc, line 262
Functions that need to be loaded on every Drupal request.

Code

const LANGUAGE_TYPE_CONTENT = 'language_content';