Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
config_install_schema_test_schema core/modules/config/tests/config_install_schema_test/config_install_schema_test.install Implements hook_schema().
config_test_install core/modules/config/tests/config_test/config_test.install Implements hook_install().
contact_form_user_admin_settings_submit

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::userAdminSettingsSubmit instead.

core/modules/contact/contact.module Form submission handler for \Drupal\user\AccountSettingsForm.
contact_removed_post_updates core/modules/contact/contact.post_update.php Implements hook_removed_post_updates().
contact_storage_test_install core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.install Implements hook_install().
contact_user_profile_form_submit

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::profileFormSubmit() instead.

core/modules/contact/contact.module Form submission handler for \Drupal\user\ProfileForm.
container_test_file_service_test_service_function core/tests/Drupal/Tests/Component/DependencyInjection/Fixture/container_test_file_service_test_service_function.php Test function for container testing. 1 1
content_moderation_post_update_add_index_content_moderation_state_field_revision_moderation_state core/modules/content_moderation/content_moderation.post_update.php Add moderation_state index to content_moderation_state tables.
content_moderation_removed_post_updates core/modules/content_moderation/content_moderation.post_update.php Implements hook_removed_post_updates(). 1
content_moderation_test_resave_install core/modules/content_moderation/tests/modules/content_moderation_test_resave/content_moderation_test_resave.install Implements hook_install().
content_moderation_update_last_removed core/modules/content_moderation/content_moderation.install Implements hook_update_last_removed().
content_translation_enable_widget

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::getWidget() instead.

core/modules/content_translation/content_translation.module Returns a widget to enable content translation per entity bundle.
content_translation_install core/modules/content_translation/content_translation.install Implements hook_install().
content_translation_language_configuration_element_process

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementProcess() instead.

core/modules/content_translation/content_translation.module Process callback: Expands the language_configuration form element.
content_translation_language_configuration_element_submit

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementSubmit() instead.

core/modules/content_translation/content_translation.module Form submission handler for element.
content_translation_language_configuration_element_validate

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ContentTranslationEnableTranslationPerBundle::configElementValidate() instead.

core/modules/content_translation/content_translation.module Form validation handler for the language_configuration form element.
content_translation_translate_access

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the access() method of the content_translation.manager service instead.

core/modules/content_translation/content_translation.module Access callback for the translation overview page.
content_translation_update_last_removed core/modules/content_translation/content_translation.install Implements hook_update_last_removed().
contextual_removed_post_updates core/modules/contextual/contextual.post_update.php Implements hook_removed_post_updates().
database_test_schema core/modules/system/tests/modules/database_test/database_test.install Implements hook_schema(). 1
datetime_range_removed_post_updates core/modules/datetime_range/datetime_range.post_update.php Implements hook_removed_post_updates().
datetime_type_field_views_data_helper

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('datetime.views_helper') ->buildViewsData($field_storage, $data, $column_name); instead.

core/modules/datetime/datetime.module Provides Views integration for any datetime-based fields.
dblog_filters

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\dblog\DbLogFilters::class)->filters() instead.

core/modules/dblog/dblog.module Creates a list of database log administration filters that can be applied.
dblog_removed_post_updates core/modules/dblog/dblog.post_update.php Implements hook_removed_post_updates().
dblog_schema core/modules/dblog/dblog.install Implements hook_schema().
dblog_update_last_removed core/modules/dblog/dblog.install Implements hook_update_last_removed().
ddd_hook_order_test_test_hook core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/ddd_hook_order_test.module Implements hook_test_hook(). 1
demo_umami_content_install core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.install Implements hook_install().
demo_umami_content_uninstall core/profiles/demo_umami/modules/demo_umami_content/demo_umami_content.install Implements hook_uninstall().
demo_umami_install core/profiles/demo_umami/demo_umami.install Implements hook_install().
deprecation_test_deprecated_alter_alter core/modules/system/tests/modules/deprecation_test/deprecation_test.module Implements hook_deprecated_alter_alter().
deprecation_test_deprecated_hook core/modules/system/tests/modules/deprecation_test/deprecation_test.module Implements hook_deprecated_hook().
deprecation_test_function

in drupal:8.4.0 and is removed from drupal:9.0.0. This is the deprecation message for deprecated_test_function().

core/modules/system/tests/modules/deprecation_test/deprecation_test.module A deprecated function. 4
downgrade_prevention_test_update_11102 core/modules/system/tests/modules/downgrade_prevention_test/downgrade_prevention_test.install A hook_update_N that is equivalent update to 10400.
drupal_attach_tabledrag core/includes/common.inc Assists in attaching the tableDrag JavaScript behavior to a themed table. 3
drupal_check_module core/includes/install.inc Checks a module's requirements. 3
drupal_check_profile core/includes/install.inc Checks an installation profile's requirements. 1
drupal_current_script_url core/includes/install.inc Returns the URL of the current script, with modified query parameters. 1
drupal_error_levels core/includes/errors.inc Maps PHP error constants to watchdog severity levels. 1
drupal_find_theme_templates core/includes/theme.inc Allows themes and/or theme engines to easily discover overridden templates. 6
drupal_flush_all_caches core/includes/common.inc Re-initializes the entire system. 13 1
drupal_generate_test_ua core/includes/bootstrap.inc Generates a user agent string with a HMAC and timestamp for tests. 9
drupal_install_fix_file core/includes/install.inc Attempts to fix file permissions. 1
drupal_install_mkdir core/includes/install.inc Creates a directory with the specified permissions. 1
drupal_install_profile_distribution_name core/includes/install.inc Loads the installation profile, extracting its defined distribution name. 8 1
drupal_install_profile_distribution_version core/includes/install.inc Loads the installation profile, extracting its defined version. 1
drupal_install_system core/includes/install.inc Installs the system module. 1
drupal_load_updates core/includes/install.inc Loads .install files for installed modules to initialize the update system. 3
drupal_maintenance_theme core/includes/bootstrap.inc Enables use of the theme system without requiring database access. 6
drupal_phpunit_contrib_extension_directory_roots core/tests/bootstrap.php Returns directories under which contributed extensions may exist. 1

Other projects


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