53 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.
- CKEditor::getJSSettings in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/Editor/CKEditor.php
- Implements \Drupal\editor\Plugin\EditPluginInterface::getJSSettings().
- 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.
- CustomBlockFormController::form in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php
- Overrides \Drupal\Core\Entity\EntityFormController::form().
- 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.
- form_process_machine_name in drupal/core/includes/form.inc
- Processes a machine-readable name form element.
- 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
- Returns a set of image effects.
- 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::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.
- 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.html.twig.
- 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.
- MessageFormController::save in drupal/core/modules/contact/lib/Drupal/contact/MessageFormController.php
- Overrides Drupal\Core\Entity\EntityFormController::save().
- 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.
- 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
- Prepares variables for book export templates.
- template_preprocess_ckeditor_settings_toolbar in drupal/core/modules/ckeditor/ckeditor.admin.inc
- Preprocess variables for theme_ckeditor_settings_toolbar().
- template_preprocess_html in drupal/core/includes/theme.inc
- Prepares variables for HTML document templates.
- template_preprocess_maintenance_page in drupal/core/includes/theme.inc
- Prepare variables for maintenance page templates.
- template_preprocess_page in drupal/core/includes/theme.inc
- Prepares variables for the page template.
- template_preprocess_search_result in drupal/core/modules/search/search.pages.inc
- Prepares variables for individual search result templates.
- TestBase::prepareEnvironment in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Prepares the current environment for running the test.
- 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.
- translation_entity_delete_access in drupal/core/modules/translation_entity/translation_entity.module
- Access callback for the translation delete page.
- translation_entity_edit_access in drupal/core/modules/translation_entity/translation_entity.module
- Access callback for the translation edit page.
- translation_entity_edit_page in drupal/core/modules/translation_entity/translation_entity.pages.inc
- Page callback for the translation edit 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.