57 calls to language()
- AccountFormController::form in drupal/core/modules/user/lib/Drupal/user/AccountFormController.php
- Overrides Drupal\Core\Entity\EntityFormController::form().
- CascadingStylesheetsTest::testAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests Locale module's CSS Alter to include RTL overrides.
- CommentFormController::form in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
- Overrides Drupal\Core\Entity\EntityFormController::form().
- CommentTokenReplaceTest::testCommentTokenReplacement in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php
- Creates a comment, then tests the tokens generated from it.
- contact_personal_form_submit in drupal/core/modules/contact/contact.pages.inc
- Form submission handler for contact_personal_form().
- contact_site_form_submit in drupal/core/modules/contact/contact.pages.inc
- Form submission handler for contact_site_form().
- drupal_language_initialize in drupal/core/includes/bootstrap.inc
- Initializes all the defined language types.
- FileTokenReplaceTest::testFileTokenReplacement in drupal/core/modules/file/lib/Drupal/file/Tests/FileTokenReplaceTest.php
- Creates a file, then tests the tokens generated from it.
- filter_formats in drupal/core/modules/filter/filter.module
- Retrieves a list of text formats, ordered by weight.
- FormatDateTest::testFormatDate in drupal/core/modules/system/lib/Drupal/system/Tests/Common/FormatDateTest.php
- Tests the format_date() function.
- hook_block_list_alter in drupal/core/modules/block/block.api.php
- Act on blocks prior to rendering.
- hook_language_switch_links_alter in drupal/core/modules/system/language.api.php
- Perform alterations on language switcher links.
- hook_watchdog in drupal/core/modules/system/system.api.php
- Log an event message.
- image_effect_definitions in drupal/core/modules/image/image.module
- Pull in image effects exposed by modules implementing hook_image_effect_info().
- LanguageConfigurationElementTest::testDefaultLangcode in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
- Tests that the language_get_default_langcode() returns the correct values.
- LanguageDependencyInjectionTest::setUp in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
- Sets up a Drupal site for running functional and integration tests.
- LanguageDependencyInjectionTest::testDependencyInjectedNewDefaultLanguage in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
- Test dependency injected Language object against a new default language
object.
- LanguageDependencyInjectionTest::testDependencyInjectedNewLanguage in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
- Test dependency injected languages against a new Language object.
- language_css_alter in drupal/core/modules/language/language.module
- Implements hook_css_alter().
- language_get_default_langcode in drupal/core/modules/language/language.module
- Returns the default language code assigned to an entity type and a bundle.
- language_url_rewrite_url in drupal/core/modules/language/language.negotiation.inc
- Rewrite URLs for the URL language negotiation method.
- locale in drupal/core/modules/locale/locale.module
- Provides interface translation services.
- LocaleConfigSubscriber::configLoad in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php
- Override configuration values with localized data.
- LocaleUninstallTest::testUninstallProcess in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php
- Check if the values of the Locale variables are correct after uninstall.
- locale_get_plural in drupal/core/modules/locale/locale.module
- Returns plural form index for a specific number.
- locale_js_alter in drupal/core/modules/locale/locale.module
- Implements hook_js_alter().
- locale_library_info_alter in drupal/core/modules/locale/locale.module
- Implement hook_library_info_alter().
- locale_preprocess_node in drupal/core/modules/locale/locale.module
- Implements hook_preprocess_HOOK() for node.tpl.php.
- MailTest::testCancelMessage in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
- Test that message sending may be canceled.
- MailTest::testPluggableFramework in drupal/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
- Assert that the pluggable mail system is functional.
- menu_tree_all_data in drupal/core/includes/menu.inc
- Gets the data structure representing a named menu tree.
- menu_tree_page_data in drupal/core/includes/menu.inc
- Gets the data structure for a named menu tree, based on the current page.
- NodeTokenReplaceTest::testNodeTokenReplacement in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTokenReplaceTest.php
- Creates a node, then tests the tokens generated from it.
- node_feed in drupal/core/modules/node/node.module
- Page callback: Generates and prints an RSS feed.
- openid_redirect in drupal/core/modules/openid/openid.inc
- Creates a js auto-submit redirect for (for the 2.x protocol)
- PollTokenReplaceTest::testPollTokenReplacement in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTokenReplaceTest.php
- Creates a poll, then tests the tokens generated from it.
- StatisticsTokenReplaceTest::testStatisticsTokenReplacement in drupal/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTokenReplaceTest.php
- Creates a node, then tests the statistics tokens generated from it.
- template_preprocess_book_export_html in drupal/core/modules/book/book.module
- Preprocesses variables for book-export-html.tpl.php.
- template_preprocess_html in drupal/core/includes/theme.inc
- Preprocess variables for html.tpl.php
- template_preprocess_maintenance_page in drupal/core/includes/theme.inc
- The variables array generated here is a mirror of template_preprocess_page().
This preprocessor will run its course when theme_maintenance_page() is
invoked.
- template_preprocess_page in drupal/core/includes/theme.inc
- Preprocess variables for page.tpl.php
- template_preprocess_search_result in drupal/core/modules/search/search.pages.inc
- Process variables for search-result.tpl.php.
- TestBase::prepareEnvironment in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Prepares the current environment for running the test.
- TestBase::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Deletes created files, database tables, and reverts all environment changes.
- theme_links in drupal/core/includes/theme.inc
- Returns HTML for a set of links.
- TokenReplaceTest::testSystemDateTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Tests the generation of all system date tokens.
- TokenReplaceTest::testSystemSiteTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Tests the generation of all system site information tokens.
- TokenReplaceTest::testSystemTokenRecognition in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Test whether token-replacement works in various contexts.
- TokenReplaceTest::testTaxonomyTokenReplacement in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TokenReplaceTest.php
- Creates some terms and a node, then tests the tokens generated from them.
- TokenReplaceTest::testTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
- Creates a user and a node, then tests the tokens generated from them.
- translation_entity_add_access in drupal/core/modules/translation_entity/translation_entity.module
- Access callback for the translation addition page.
- translation_entity_add_page in drupal/core/modules/translation_entity/translation_entity.pages.inc
- Page callback for the translation addition page.
- UserTokenReplaceTest::testUserTokenReplacement in drupal/core/modules/user/lib/Drupal/user/Tests/UserTokenReplaceTest.php
- Creates a user, then tests the tokens generated from it.
- user_pass_submit in drupal/core/modules/user/user.pages.inc
- _field_info_collate_types in drupal/core/modules/field/field.info.inc
- Collates all information on field types, widget types and related structures.
- _locale_rebuild_js in drupal/core/modules/locale/locale.module
- (Re-)Creates the JavaScript translation file for a language.
- _menu_build_tree in drupal/core/includes/menu.inc
- Builds a menu tree.