Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
locale_language_name modules/locale/locale.module Returns a language name
locale_language_negotiation_info modules/locale/locale.module Implements hook_language_negotiation_info(). 3
locale_language_providers_session_form modules/locale/locale.admin.inc The URL language provider configuration form. 1
locale_language_providers_url_form modules/locale/locale.admin.inc The URL language provider configuration form. 1
locale_language_selector_form modules/locale/locale.module Form builder callback to display language selection widget. 1
locale_language_switcher_session includes/locale.inc Return the session language switcher block. 1
locale_language_switcher_url includes/locale.inc Return the URL language switcher block. Translation links may be provided by other modules. 1
locale_language_types_info modules/locale/locale.module Implements hook_language_types_info().
locale_language_url_fallback includes/locale.inc Determines the language to be assigned to URLs when none is detected. 1
locale_language_url_rewrite_session includes/locale.inc Rewrite URLs for the Session language provider. 1
locale_language_url_rewrite_url includes/locale.inc Rewrite URLs for the URL language provider. 2
locale_library_alter modules/locale/locale.module Implement hook_library_alter().
locale_locale modules/locale/locale.module Implements hook_locale().
locale_menu modules/locale/locale.module Implements hook_menu().
locale_modules_disabled modules/locale/locale.module Implements hook_modules_disabled().
locale_modules_enabled modules/locale/locale.module Implements hook_modules_enabled(). 1
locale_modules_installed modules/locale/locale.module Implements hook_modules_installed().
locale_multilingual_node_type modules/locale/locale.module Return whether the given content type has multilingual support. 2
locale_permission modules/locale/locale.module Implements hook_permission().
locale_reset modules/locale/locale.module Reset static variables used by locale(). 2
locale_schema modules/locale/locale.install Implements hook_schema().
locale_string_is_safe includes/locale.inc Check that a string is safe to be added or imported as a translation. 3
locale_system_update modules/locale/locale.module Imports translations when new modules or themes are installed. 2
locale_test_boot modules/locale/tests/locale_test.module Implements hook_boot().
locale_test_init modules/locale/tests/locale_test.module Implements hook_init().
locale_test_language_negotiation_info modules/locale/tests/locale_test.module Implements hook_language_negotiation_info(). 1
locale_test_language_negotiation_info_alter modules/locale/tests/locale_test.module Implements hook_language_negotiation_info_alter(). 1
locale_test_language_provider modules/locale/tests/locale_test.module Test language provider. 1
locale_test_language_types_info modules/locale/tests/locale_test.module Implements hook_language_types_info().
locale_test_language_types_info_alter modules/locale/tests/locale_test.module Implements hook_language_types_info_alter().
locale_test_locale modules/locale/tests/locale_test.module Implements hook_locale().
locale_test_menu modules/locale/tests/locale_test.module Implements hook_menu().
locale_test_plural_format_page modules/locale/tests/locale_test.module Returns markup for locale_get_plural testing. 2
locale_test_store_language_negotiation modules/locale/tests/locale_test.module Store the last negotiated languages. 1
locale_theme modules/locale/locale.module Implements hook_theme().
locale_themes_enabled modules/locale/locale.module Implements hook_themes_enabled().
locale_translate_delete_form modules/locale/locale.admin.inc User interface for the string deletion confirmation screen. 1
locale_translate_delete_form_submit modules/locale/locale.admin.inc Process string deletion submissions.
locale_translate_delete_page modules/locale/locale.admin.inc String deletion confirmation page. 1
locale_translate_edit_form modules/locale/locale.admin.inc User interface for string editing. 1
locale_translate_edit_form_submit modules/locale/locale.admin.inc Process string editing form submissions.
locale_translate_edit_form_validate modules/locale/locale.admin.inc Validate string editing form submissions.
locale_translate_export_pot_form modules/locale/locale.admin.inc Translation template export form. 1
locale_translate_export_po_form modules/locale/locale.admin.inc Form to export PO files for the languages provided. 1
locale_translate_export_po_form_submit modules/locale/locale.admin.inc Process a translation (or template) export form submission. 1
locale_translate_export_screen modules/locale/locale.admin.inc User interface for the translation export screen. 1
locale_translate_import_form modules/locale/locale.admin.inc User interface for the translation import screen. 1
locale_translate_import_form_submit modules/locale/locale.admin.inc Process the locale import form submission.
locale_translate_overview_screen modules/locale/locale.admin.inc Overview screen for translations. 1
locale_translate_seek_screen modules/locale/locale.admin.inc String search screen. 1

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.