Functions - 10.3.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
system_entity_view_display_presave core/modules/system/system.module Implements hook_ENTITY_TYPE_presave() for entity_view_display entities.
system_entity_view_mode_presave core/modules/system/system.module Implements hook_ENTITY_TYPE_presave() for view mode entities.
system_filetransfer_info core/modules/system/system.module Implements hook_filetransfer_info().
system_file_download core/modules/system/system.module Implements hook_file_download().
system_form_alter core/modules/system/system.module Implements hook_form_alter().
system_form_form_test_alter_form_alter core/modules/system/tests/modules/form_test/form_test.module Implements hook_form_FORM_ID_alter().
system_get_module_admin_tasks

in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'system.module_admin_links_helper' service with the getModuleAdminLinks() method and 'user.module_permissions_link_helper' service with the ::getModulePermissionsLink() method instead.

core/modules/system/system.module Generate a list of tasks offered by a specified module. 1 2
system_help core/modules/system/system.module Implements hook_help().
system_hook_info core/modules/system/system.module Implements hook_hook_info().
system_install core/modules/system/system.install Implements hook_install().
system_js_settings_alter core/modules/system/system.module Implements hook_js_settings_alter().
system_js_settings_build core/modules/system/system.module Implements hook_js_settings_build().
system_library_info_alter core/modules/system/system.module Implements hook_library_info_alter().
system_mail core/modules/system/system.module Implements hook_mail().
system_modules_uninstalled core/modules/system/system.module Implements hook_modules_uninstalled().
system_module_test_install core/modules/system/tests/modules/system_module_test/system_module_test.install Implements hook_install().
system_module_test_page_attachments_alter core/modules/system/tests/modules/system_module_test/system_module_test.module Implements hook_page_attachments_alter().
system_page_attachments core/modules/system/system.module Implements hook_page_attachments(). 1
system_page_top core/modules/system/system.module Implements hook_page_top().
system_post_update_add_description_to_entity_form_mode core/modules/system/system.post_update.php Update description for form modes.
system_post_update_add_description_to_entity_view_mode core/modules/system/system.post_update.php Update description for view modes.
system_post_update_add_langcode_to_all_translatable_config core/modules/system/system.post_update.php Adds a langcode to all simple config which needs it.
system_post_update_amend_config_sync_readme_url core/modules/system/system.post_update.php Fix path in README.txt in CONFIG_SYNC_DIRECTORY.
system_post_update_convert_empty_country_and_timezone_settings_to_null core/modules/system/system.post_update.php Updates system.date config to NULL for empty country and timezone defaults.
system_post_update_enable_password_compatibility core/modules/system/system.post_update.php Enable the password compatibility module.
system_post_update_linkset_settings core/modules/system/system.post_update.php Add new menu linkset endpoint setting.
system_post_update_mailer_dsn_settings core/modules/system/system.post_update.php Add new default mail transport dsn.
system_post_update_mailer_structured_dsn_settings core/modules/system/system.post_update.php Add new default mail transport dsn.
system_post_update_mail_notification_setting core/modules/system/system.post_update.php Adds default value for the mail_notification config parameter.
system_post_update_move_development_settings_to_keyvalue core/modules/system/system.post_update.php Move development settings from state to raw key-value storage.
system_post_update_remove_asset_entries core/modules/system/system.post_update.php Remove redundant asset state and config.
system_post_update_remove_asset_query_string core/modules/system/system.post_update.php Remove redundant asset query string state.
system_post_update_set_blank_log_url_to_null core/modules/system/system.post_update.php Updates system.theme.global:logo.url config if it's still at the default.
system_post_update_set_cron_logging_setting_to_boolean core/modules/system/system.post_update.php Fix system.cron:logging values to boolean.
system_post_update_timestamp_formatter core/modules/system/system.post_update.php Update timestamp formatter settings for entity view displays.
system_preprocess_block core/modules/system/system.module Implements hook_preprocess_HOOK() for block templates.
system_preprocess_toolbar core/modules/system/system.module Implements hook_preprocess_toolbar().
system_query_entity_reference_alter core/modules/system/system.module Implements hook_query_TAG_alter() for entity reference selection handlers.
system_region_list core/modules/system/system.module Get a list of available regions from a specified theme. 9
system_removed_post_updates core/modules/system/system.post_update.php Implements hook_removed_post_updates().
system_requirements core/modules/system/system.install Implements hook_requirements(). 2
system_retrieve_file

in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.

core/modules/system/system.module Attempts to get a file using Guzzle HTTP client and to store it locally. 2
system_schema core/modules/system/system.install Implements hook_schema(). 2
system_sort_themes core/modules/system/system.module Sorts themes by their names, with the default theme listed first. 1
system_system_info_alter core/modules/system/system.module Implements hook_system_info_alter().
system_test_filetransfer_info core/modules/system/tests/modules/system_test/system_test.module Implements hook_filetransfer_info().
system_test_help core/modules/system/tests/modules/system_test/system_test.module Implements hook_help(). 1
system_test_modules_installed core/modules/system/tests/modules/system_test/system_test.module Implements hook_modules_installed().
system_test_modules_uninstalled core/modules/system/tests/modules/system_test/system_test.module Implements hook_modules_uninstalled().
system_test_module_preinstall core/modules/system/tests/modules/system_test/system_test.module Implements hook_module_preinstall().

Other projects


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